Error of TSeries: Clear(), FastPen?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
scoka
Newbie
Newbie
Posts: 3
Joined: Wed Nov 17, 2010 12:00 am

Error of TSeries: Clear(), FastPen?

Post by scoka » Mon Dec 06, 2010 2:21 am

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

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

Re: Error of TSeries: Clear(), FastPen?

Post by Narcís » Tue Dec 07, 2010 2:24 pm

Hi scoka,
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).'.
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:

Code: Select all

	Series1->FillSampleValues();

	for (int i = Series1->Count()-1; i >=0 ; i--) {
		Series1->Delete(i);
	}
Also, I could not set FastPen to true.
Error: Project xxx.exe raised exception class EReadError with message 'Property FastPen does not exist'.
This works fine here. As discussed in this thread, this problem indicates your Delphi is still referencing old TeeChart versions.
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

scoka
Newbie
Newbie
Posts: 3
Joined: Wed Nov 17, 2010 12:00 am

Re: Error of TSeries: Clear(), FastPen?

Post by scoka » Wed Dec 08, 2010 1:56 am

your Delphi is still referencing old TeeChart versions
Thank you, I can use that Property now.

Post Reply