do not hide the units of easypiecharts and gauges
Costa Tsaousis (ktsaou) committed
Oct 19, 2017 at 10:26 UTC
cd64aee1234548399dc46915a5a8a2bb116c14df
1 file changed
+2
web/dashboard.js
+2
@@ -6359,6 +6359,7 @@ var NETDATA = window.NETDATA || {};
6359
state.legendSetUnitsString = function(units) {
6360
state.tmp.easyPieChartUnits.innerText = units;
6361
};
6362
+ state.legendShowUndefined = function() {};
6363
6364
var pcent = NETDATA.easypiechartPercentFromValueMinMax(state, value, min, max);
6365
chart.data('data-percent', pcent);
@@ -6734,6 +6735,7 @@ var NETDATA = window.NETDATA || {};
6735
state.tmp.___gaugeOld__.minLabel = null;
6736
state.tmp.___gaugeOld__.maxLabel = null;
6737
};
6738
+ state.legendShowUndefined = function() {};
6739
6740
state.tmp.gauge_instance = new Gauge(state.tmp.gauge_canvas).setOptions(options); // create sexy gauge!
6741