Fixed number formatting
This commit is contained in:
parent
801fa66fad
commit
d64f9b3310
|
@ -15,7 +15,8 @@ define([
|
||||||
|
|
||||||
var y_format_metric_value = function (value, metric) {
|
var y_format_metric_value = function (value, metric) {
|
||||||
// If this isn't a number, change nothing
|
// If this isn't a number, change nothing
|
||||||
if(!_.isNaN(value) || !_.isFinite(value)) {
|
if(_.isNaN(value) || !_.isFinite(value)) {
|
||||||
|
console.log(value);
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
if (metric.y_format === 'bytes') {
|
if (metric.y_format === 'bytes') {
|
||||||
|
|
Loading…
Reference in a new issue