Commit 6f0faa59 by Torkel Ödegaard Committed by GitHub

Graph: Updated auto decimals logic and test dashboard (#19618)

parent 0016189f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment