FastLineSeries DrawAllPoints Access Violation

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Kjaran
Newbie
Newbie
Posts: 9
Joined: Fri Sep 30, 2011 12:00 am

FastLineSeries DrawAllPoints Access Violation

Post by Kjaran » Fri Feb 24, 2012 11:05 am

Hi,

I've found a problem with TFastLineSeries(A) that uses another TFastLineSeries(source) as a DataSource.
If A has DrawAllPoints set to false and source has less than 2 points then an access violation is thrown
everytime the chart is drawn.

I've included a small sample project with this setup.
I tested it on my current setup and teechart that came bundled with Delphi XE, the bundled
version worked OK.

Please note that I have found a workaround where I disable DrawAllPoints when the source
series has fewer than 2 points.

Using
Delphi XE with Update 1, 15.0.3953.35171
TeeChart Pro v2011.04.41118 32bit VCL

Kjaran
Attachments
Sample Project.zip
(3.44 KiB) Downloaded 336 times

Kjaran
Newbie
Newbie
Posts: 9
Joined: Fri Sep 30, 2011 12:00 am

Re: FastLineSeries DrawAllPoints Access Violation

Post by Kjaran » Fri Feb 24, 2012 12:09 pm

Hi,

Also if you resize the chart smaller, so that the left and right axis touch, theres an access violation.

I've decided not to disable the DrawAllPoints since it's more trouble than it's worth.

Kjaran

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: FastLineSeries DrawAllPoints Access Violation

Post by Yeray » Tue Feb 28, 2012 12:09 pm

Hi Kjaran,
Kjaran wrote:I've found a problem with TFastLineSeries(A) that uses another TFastLineSeries(source) as a DataSource.
If A has DrawAllPoints set to false and source has less than 2 points then an access violation is thrown
everytime the chart is drawn.
You are right. I've added it to the defect list to be fixed in future releases (TV52016054).
Kjaran wrote:Also if you resize the chart smaller, so that the left and right axis touch, theres an access violation.
You are right again. I've also added it to the defect list to be revised fr future releases (TV52016055).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: FastLineSeries DrawAllPoints Access Violation

Post by Yeray » Mon Feb 11, 2013 11:26 am

Hi Kjaran,

This is to let you know I've just checked any of the problems (TV52016054,TV52016055) aren't reproducible any more with the actual v2012.07 version.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply