fix format function for X axis of custom graphs
This commit is contained in:
parent
0c3a7166e0
commit
80ce89e650
|
@ -460,7 +460,7 @@ function pandoraFlotHBars(
|
|||
var label = parseFloat(v);
|
||||
|
||||
const unit_prefixes = ["K", "M", "G"];
|
||||
var unit_prefix;
|
||||
var unit_prefix = "";
|
||||
var i = 0;
|
||||
|
||||
while (label >= 1000 && i < 3) {
|
||||
|
|
Loading…
Reference in New Issue