Hello!
I can't replace data in time chart. I have following data structure in
chart:
data: {
id: 'name',
units:["s"],
preloaded: {
unit: 's',
values: chartData.values[property]
}
It draws chart correctly. But when I try replace data with function
replaceData it throws in console:
Uncaught TypeError: Cannot read property 'id' of undefined
The passed structure is following:
chart.replaceData({
id: property,
units:["s"],
preloaded: {
unit: 's',
values: chartData.values[property]
});
I create chart from this example
https://zoomcharts.com/developers/en/time-chart/examples/gallery/time-chart-clustered-columns-microsoft-apple-stock-prices.html
Could you please help?
Thank you,
Renars