Script error datetime series

TeeChart for Javascript for the HTML5 Canvas
Post Reply
samos
Newbie
Newbie
Posts: 19
Joined: Mon Jun 17, 2013 12:00 am

Script error datetime series

Post by samos » 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

Code: Select all

Chart1.draw() 
After the line

Code: Select all

series.data.x=[];
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.

Yeray
Site Admin
Site Admin
Posts: 8752
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Script error datetime series

Post by Yeray » Wed Sep 25, 2013 11:03 am

Hi,

Excuse us for the delayed reply here.
I've added it to the defect list to be revised for next releases.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply