]> arthur.barton.de Git - netdata.git/commitdiff
show null values on the legends on hover when the dimensions do not have data
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 18 Jan 2017 00:49:07 +0000 (02:49 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Wed, 18 Jan 2017 00:49:07 +0000 (02:49 +0200)
web/dashboard.js
web/index.html

index 5bf42ff8b8fbfd2eded57b33675380f5b6481bcd..6fc294204249e0f3cd331a3b1c8f350b1f8cfeb0 100644 (file)
@@ -4336,6 +4336,8 @@ var NETDATA = window.NETDATA || {};
                         var series = data.series[i];
                         if(series.isVisible === true)
                             state.legendSetLabelValue(series.label, series.y);
+                        else
+                            state.legendSetLabelValue(series.label, null);
                     }
                 }
 
index f91219c1b11d62239940f68968299292518d6620..9d8a2455fc13a069719776c1d9d03ad4d03a7a21 100644 (file)
     </div>
 </body>
 </html>
-<script type="text/javascript" src="dashboard.js?v20170107-5"></script>
+<script type="text/javascript" src="dashboard.js?v20170118-11"></script>