mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 17:06:57 -06:00
Graph: Updated auto decimals logic and test dashboard (#19618)
This commit is contained in:
parent
0016189f28
commit
6f0faa595b
File diff suppressed because it is too large
Load Diff
2
public/vendor/flot/jquery.flot.js
vendored
2
public/vendor/flot/jquery.flot.js
vendored
@ -1783,7 +1783,7 @@ Licensed under the MIT license.
|
||||
|
||||
// grafana addition
|
||||
if (opts.tickDecimals === null || opts.tickDecimals === undefined) {
|
||||
axis.scaledDecimals = axis.tickDecimals - Math.ceil((1 / getSignificantDigitCount(axis.tickSize)) * 3);
|
||||
axis.scaledDecimals = axis.tickDecimals + dec;
|
||||
}
|
||||
|
||||
// Time mode was moved to a plug-in in 0.8, and since so many people use it
|
||||
|
Loading…
Reference in New Issue
Block a user