mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +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);
|
var label = parseFloat(v);
|
||||||
|
|
||||||
const unit_prefixes = ["K", "M", "G"];
|
const unit_prefixes = ["K", "M", "G"];
|
||||||
var unit_prefix;
|
var unit_prefix = "";
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
|
||||||
while (label >= 1000 && i < 3) {
|
while (label >= 1000 && i < 3) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user