Fix compatibility with ntopng 3.4 RRD format

This commit is contained in:
emanuele-f 2018-08-13 18:40:25 +02:00
parent da3cbe7b8c
commit cacbdaa9e7
6 changed files with 35 additions and 7 deletions

View file

@ -300,8 +300,6 @@ function attachStackedChartCallback(chart, schema_name, chart_id, zoom_out_id, f
}
chart.legend.dispatch.on('legendClick', function(d,i) {
console.log(d.legend_key, d.disabled);
if(typeof localStorage !== "undefined")
localStorage.setItem("chart_series.disabled." + d.legend_key, (!d.disabled) ? true : false);
});