TChartSeries.Clear

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Brino
Newbie
Newbie
Posts: 5
Joined: Fri Nov 15, 2002 12:00 am
Location: dublin

TChartSeries.Clear

Post by Brino » Wed Sep 06, 2006 2:28 pm

Hi,
i have a chart with many series on it. i populate these series by dynamically generating numerical data during a 'run'. There is a predefined start time and end time.

If i start a new 'run', i clear each of the series and re populate them during the run. The x-axis + yaxis ranges stay the same for each 'run'.

The problem i am having is that after i clear the series, there is some residue left over in the SeriesObject of the Last XY Value in the series (OldX, OldY), then when i go on and add my new points starting at the start again, a line gets drawn across the chart from the last point to the first point.

any help appreciated..

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 06, 2006 2:47 pm

Hi Brino,

Could you please send us an example project we can run "as-is" to reproduce the problem here.

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply