@cryptotaxi247 / netdata-1 / commits / 63cc58b87

force stacked charts to include zero; fixes #1010

Costa Tsaousis (ktsaou) committed Sep 23, 2016 at 00:08 UTC 63cc58b87e5318586d33e2f3a3b955059b3421ee
2 files changed +2 -2
web/dashboard.js
+1 -1
@@ -3871,7 +3871,7 @@
3871 showLabelsOnHighlight: self.data('dygraph-showlabelsonhighlight') || true,
3872 hideOverlayOnMouseOut: self.data('dygraph-hideoverlayonmouseout') || true,
3873
3874 - includeZero: self.data('dygraph-includezero') || false,
3874 + includeZero: self.data('dygraph-includezero') || ((chart_type === 'stacked')? true : false),
3875 xRangePad: self.data('dygraph-xrangepad') || 0,
3876 yRangePad: self.data('dygraph-yrangepad') || 1,
3877
web/index.html
+1 -1
@@ -622,7 +622,7 @@
622 </script>
623
624 <!-- load the dashboard manager - it will do the rest -->
625 - <script type="text/javascript" src="dashboard.js?v49"></script>
625 + <script type="text/javascript" src="dashboard.js?v50"></script>
626 </head>
627 <body data-spy="scroll" data-target="#sidebar">
628 <div id="loadOverlay" class="loadOverlay" style="background-color: #888; color: #888;">