Page 1 of 1

Change SeriesType at Runtime

Posted: Mon Feb 23, 2004 3:24 pm
by 5886996
Hallo
I change the SeriesType with the following codesnipet

tmp := dbChart.Series[0];
ChangeSeriesType(tmp, TBarSeries);

The ChartListbox notifies the new style. In the Charteditor I can see the old Values. But I cannot see the serie. What I am doing wrong?

Posted: Tue Feb 24, 2004 12:11 pm
by Pep
Hi Andreas,

strange, it works fine here using the TeeChart Pro v6.01. I've post one example to the steema.public.attachments newsgroups. Could you please download it and test if it works fine for you ?

Posted: Tue Feb 24, 2004 2:26 pm
by 5886996
Hi Pep,
Thanks for the quick answer. The sample project works fine for me to (Version 5.02). I have found the error. After changing the seriestype my series lost the connection to the custom axis. I have created a customvertaxis with property otherside := true which shows datetimes. The left axis shows integers, so values < 1 i don't see. The chart has done his work well but I couldn't see it.
Best regards
Andreas