mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Fix queries for panels with non-integer widths (#42420)
* dashboard: fix non-integer panel widths * switched to better supported function
This commit is contained in:
parent
3285742196
commit
8508ad79b2
@ -313,7 +313,7 @@ export class PanelModel implements DataConfigSource, IPanelModel {
|
||||
timezone: dashboardTimezone,
|
||||
timeRange: timeData.timeRange,
|
||||
timeInfo: timeData.timeInfo,
|
||||
maxDataPoints: this.maxDataPoints || width,
|
||||
maxDataPoints: this.maxDataPoints || Math.floor(width),
|
||||
minInterval: this.interval,
|
||||
scopedVars: this.scopedVars,
|
||||
cacheTimeout: this.cacheTimeout,
|
||||
|
Loading…
Reference in New Issue
Block a user