mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user