Hello
[Environment]
TeeChart V7.07, BDS2006 Ent+Sp2, Windows 2000.
[Description]
For Series created at run time, in some cases, the last series title is displayed incorrectly in ChartListBox using serie name instead.
I have made a demo project for the bug that ChartListBox display wrong Serie Title. Please tell me how I can submit the demo project.
[Step to reproducing error]
1. Build the demo, and run it.
2. click Init
3. Click Button1
4. Click the TeeChart at right panel, now ChartListBox has serie title correctly displayed (see pic1).
5. Click button2, now the last serie title is wrong (see pic2).
6. Click Button1 again, the last seris title is wrong (see pic3).
[work around]
Reset the ChartListBox->Chart each time when a series is added/deleted at run time as following.
// if (ChartListBox->Chart!=NULL) {
// TChart *pChart=(TChart*)ChartListBox->Chart;
// ChartListBox->Chart=NULL;
// ChartListBox->Chart=pChart;
// }
[bug]: Incorrect Series Title displayed in ChartListBox
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi easyblue,
Please post the demo at news://www.steema.net/steema.public.attachments newsgroup.
Thanks in advance.
Please post the demo 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 |
Instructions - How to post in this forum |