Page 1 of 1

Tee Chart Not allowing me to create 2 lines

Posted: Tue Apr 11, 2006 3:08 pm
by 9527833
Hello,

I have put a project on the news server for attachments. I have been having a problem drawing lines on the chart for some reason. The code worked prior to switching around the series (I previously drew 2 lines before the database data was drawn as a 3rd point, now I draw the database points first and the 2 lines last). Now, when it gets to the second line, I get a typecast error.

Please check out this code for me because I have been spending days on it and am apparenlty too dumb to figure it out for myself.

Posted: Tue Apr 18, 2006 9:26 am
by narcis
Hi amueller,

The problem may be related to that you are trying to add a data point to a series using the First and Last method when the series don't even have any datapoing. This what happens the first time you run this. Can you please check if that's the problem? You could also try if it works manually adding values to the series, without using a DB.