Chart -> RemoveAll -> RedrawAll

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
n/o/x
Newbie
Newbie
Posts: 1
Joined: Fri Nov 15, 2002 12:00 am

Chart -> RemoveAll -> RedrawAll

Post by n/o/x » Tue Oct 26, 2004 5:52 pm

Hello Steema,

I have a big problem: I plotted a chart with a Candleseries (MainSeries), a few TLineSeries and some ChartTools.

Now i want to change all values of my MainSeries. When i clear that series i got an exception (maybe because of the refering TLineSeries to the MainSeries?).

So i tried to delete all series with Chart.RemoveAllSeries, but get an exception too.

Now, I just want to know, how i can change all datas of my MainSeries and get all refering Series updated. Like a complete new redraw of chart...

Thanks in advance.

Regards Michael

Pep
Site Admin
Site Admin
Posts: 3298
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Oct 27, 2004 9:42 am

Hi Michael,

I'm sorry, I cannot reproduce the problem here. You should be able to do this using the Clear method and then add the all the data again.
Which Teechart Pro version are you usng ?
Which code are you using to reproduce ther problem ?

Post Reply