@cryptotaxi247 / netdata-1 / commits / 9968d0a03

respect caching of decimal digits calculation when custom dashboard request specific decimal digits

Costa Tsaousis (ktsaou) committed Feb 6, 2017 at 00:15 UTC 9968d0a036976a0d3998302ef74a6af0e069ff61
1 file changed +3 -3
web/dashboard.js
+3 -3
@@ -2252,13 +2252,13 @@ var NETDATA = window.NETDATA || {};
2252 if(min === __legendFormatValueChartDecimalsLastMin && max === __legendFormatValueChartDecimalsLastMax)
2253 return;
2254
2255 + __legendFormatValueChartDecimalsLastMin = min;
2256 + __legendFormatValueChartDecimalsLastMax = max;
2257 +
2258 if(this.value_decimal_detail !== -1) {
2259 __legendFormatValueChartDecimals = this.value_decimal_detail;
2260 }
2261 else {
2259 - __legendFormatValueChartDecimalsLastMin = min;
2260 - __legendFormatValueChartDecimalsLastMax = max;
2261 -
2262 var delta;
2263
2264 if (min === max)