@cryptotaxi247 / netdata-1 / commits / cb5968905

temporary fix for d3pie first rendering

Costa Tsaousis (ktsaou) committed Jan 26, 2018 at 12:19 UTC cb5968905c32b3a5ffbdff976c00919c538b63a2
1 file changed +3
web/dashboard.js
+3
@@ -7420,6 +7420,9 @@ var NETDATA = window.NETDATA || {};
7420
7421 state.d3pie_instance = new d3pie(state.element_chart, state.d3pie_options);
7422
7423 + // FIXME: temporary fix because the first update does not render the pie
7424 + NETDATA.d3pieChartUpdate(state, data);
7425 +
7426 // console.log(state.d3pie_instance);
7427
7428 return true;