Add initial point to the graph to match the selected time frame

This commit is contained in:
emanuele-f 2018-08-16 16:08:46 +02:00
parent 6ba093872f
commit 102da47f26
7 changed files with 145 additions and 50 deletions

View file

@ -387,10 +387,6 @@ function attachStackedChartCallback(chart, schema_name, chart_id, zoom_out_id, f
return;
}
// We are converting intervals to data points.
// The interval value is assigned to the right edge of the interval.
data.start = data.start + data.step;
// Adapt data
var res = [];
var series = data.series;