mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user