* dashboard: fix non-integer panel widths
* switched to better supported function
(cherry picked from commit 8508ad79b2)
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
This commit is contained in:
co-authored by
Gábor Farkas
parent
8ad3ab4082
commit
a0cfdec52e
@@ -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