TColorGridSeries Clear problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
windmaomao
Newbie
Newbie
Posts: 27
Joined: Sat Dec 06, 2003 5:00 am
Location: baltimore

TColorGridSeries Clear problem

Post by windmaomao » Wed May 26, 2004 8:59 pm

Here's another question:

I can't clear the data from TColorGridSeries by writing a->Clear(); It won't completely remove all the data. It does give me a clean chart, but if I add data, it'll show some old data point. So if I keep adding data after Clear(), I'll get a colortable overflow error eventually.

But at runtime if I first change the series to TPoint3DSeries via ChangeAllSeriesType, and do Clear() and change it back to TColorGridSeries, then I get true clean chart. Weird? But I still get that color table overflow if I repeat doing this.

I might be missing something here. I notice there's a ClearPalete() function, but don't know if it's related.

I searched the newsgroup, and found someone had the same problem but without the solution.
http://216.101.185.148/scripts/isapi.dl ... le=4519540


Fang

windmaomao
Newbie
Newbie
Posts: 27
Joined: Sat Dec 06, 2003 5:00 am
Location: baltimore

Post by windmaomao » Thu May 27, 2004 6:58 pm

Hello?

Is this a bug or feature? :roll:

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Fri May 28, 2004 5:24 am

Hi.

It's a bug in the internal bitmap drawing routine (and not related to Clear method). I've added it on the bug list so that it can be addressed for next release.
Marjan Slatinek,
http://www.steema.com

Post Reply