Script error datetime series
Posted: Thu Sep 12, 2013 12:35 pm
When in the chart there is a Date time series and before adding data to the series you draw the chart,
Then when draw the chart after the data in the series you get script error when the chart draws the labels.
To recreate the problem, just add the line
After the line
to your demo file datatime.html
this happen because the Chart1.axes.bottom.increm become Infinite in the draw of the chart with empty series,
then when draw the bottom label you get the script error.
Then when draw the chart after the data in the series you get script error when the chart draws the labels.
To recreate the problem, just add the line
Code: Select all
Chart1.draw()
Code: Select all
series.data.x=[];
this happen because the Chart1.axes.bottom.increm become Infinite in the draw of the chart with empty series,
then when draw the bottom label you get the script error.