Page 1 of 1

FastLineSeries DrawAllPoints Access Violation

Posted: Fri Feb 24, 2012 11:05 am
by 16560328
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

Re: FastLineSeries DrawAllPoints Access Violation

Posted: Fri Feb 24, 2012 12:09 pm
by 16560328
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

Re: FastLineSeries DrawAllPoints Access Violation

Posted: Tue Feb 28, 2012 12:09 pm
by yeray
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).

Re: FastLineSeries DrawAllPoints Access Violation

Posted: Mon Feb 11, 2013 11:26 am
by yeray
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.