In consists of 175 series where the majority of series are month/quarter series with 31 or 92 values.
It takes pretty long (about 15-20 seconds - depending on browser (tested with latest Chrome/FF)) to render the chart.
I verify the majority of the time is spend after receiving the data from the application server while adding the series using addSeries() to the chart. The related code looks like this:
Code: Select all
for (var i in einkaeufe_series) {
var s = einkaeufe_series[i];
var options = {
name : s['name'],
type : 'column',
pointInterval: resolution * 3600 * 1000,
pointStart: dict2date(s['start_dict']),
data : s['data'],
id: s['name'],
legendIndex: s['index'],
tooltip: {
yDecimals: 2
}
};
if (s['id'] == 'projection')
options['color'] = 'rgba(16, 88, 41, 0.4)';
window.chart.addSeries(options, false);
}