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
TColorGridSeries Clear problem
-
- Newbie
- Posts: 27
- Joined: Sat Dec 06, 2003 5:00 am
- Location: baltimore
-
- Newbie
- Posts: 27
- Joined: Sat Dec 06, 2003 5:00 am
- Location: baltimore
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.
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
http://www.steema.com