@cryptotaxi247 / netdata-1 / commits / d955d3651

show null values on the legends on hover when the dimensions do not have data

Costa Tsaousis (ktsaou) committed Jan 18, 2017 at 02:49 UTC d955d365126a0e0dace4a1c36c3c813464c4fe4a
2 files changed +3 -1
web/dashboard.js
+2
@@ -4336,6 +4336,8 @@ var NETDATA = window.NETDATA || {};
4336 var series = data.series[i];
4337 if(series.isVisible === true)
4338 state.legendSetLabelValue(series.label, series.y);
4339 + else
4340 + state.legendSetLabelValue(series.label, null);
4341 }
4342 }
4343
web/index.html
+1 -1
@@ -3259,4 +3259,4 @@
3259 </div>
3260 </body>
3261 </html>
3262 -<script type="text/javascript" src="dashboard.js?v20170107-5"></script>
3262 +<script type="text/javascript" src="dashboard.js?v20170118-11"></script>