Hello,
I use TeeChart VCL 2010 in C++ Builder XE update1.
When I called Series1->Clear(), this error occurred:
Project xxx.exe raised exception class ChartException with message 'Series Delete: ValueIndex 5136432 out of bounds (0 to -1).'.
clicked "Break" button, then message: "Source File not Found: TeEngine.pas" appeared.
I tested to fill some samples first
Series1->FillSampleValues(1024);
then it became:
Project xxx.exe raised exception class ChartException with message 'Series Delete: ValueIndex 5136468 out of bounds (0 to 1023).'.
Also, I could not set FastPen to true.
Error: Project xxx.exe raised exception class EReadError with message 'Property FastPen does not exist'.
Do you have a solution?
Thank you,
scoka
Error of TSeries: Clear(), FastPen?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Error of TSeries: Clear(), FastPen?
Hi scoka,
I could reproduce this issue and added it (TV52015309) to the defect list to be fixed for next releases. In the meantime a workaround is doing this:When I called Series1->Clear(), this error occurred:
Project xxx.exe raised exception class ChartException with message 'Series Delete: ValueIndex 5136432 out of bounds (0 to -1).'.
Code: Select all
Series1->FillSampleValues();
for (int i = Series1->Count()-1; i >=0 ; i--) {
Series1->Delete(i);
}
This works fine here. As discussed in this thread, this problem indicates your Delphi is still referencing old TeeChart versions.Also, I could not set FastPen to true.
Error: Project xxx.exe raised exception class EReadError with message 'Property FastPen does not exist'.
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 |
Re: Error of TSeries: Clear(), FastPen?
Thank you, I can use that Property now.your Delphi is still referencing old TeeChart versions