Search found 9 matches

by Kjaran
Fri Feb 24, 2012 12:09 pm
Forum: VCL
Topic: FastLineSeries DrawAllPoints Access Violation
Replies: 3
Views: 3991

Re: FastLineSeries DrawAllPoints Access Violation

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
by Kjaran
Fri Feb 24, 2012 11:05 am
Forum: VCL
Topic: FastLineSeries DrawAllPoints Access Violation
Replies: 3
Views: 3991

FastLineSeries DrawAllPoints Access Violation

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....
by Kjaran
Mon Feb 20, 2012 1:56 pm
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

Re: TCursor refresh bug

Hi Narcís, The two screen-shots are actual shots of the chart. The only modifications I made was to crop the form. The first screen-shot is while I'm holding the left mouse button down just before releasing it, the rectangle is the zoom rectangle drawn by teechart. The second is just after releasing...
by Kjaran
Fri Feb 17, 2012 9:44 am
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

Re: TCursor refresh bug

Hi, Found a fix for my main project. For the OnScroll and OnZoom events I set the cursor series axis to automatic. Chart1.LeftAxis.Automatic:= true; This can be used, in my case, since the axis for the cursor is never shown. But I guess in the cases where it is not this would still be an issue. Kjaran
by Kjaran
Thu Feb 16, 2012 5:22 pm
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

Re: TCursor refresh bug

Hi, I have now updated to the "TeeChart Pro v2011.04.41118 32bit VCL" and indeed my original problem has been solved, many thanks. :) And still using "Delphi XE with Update 1, 15.0.3953.35171". But a new problem was introduced. If I zoom the cursor again becomes hidden but responds to the mouse hove...
by Kjaran
Wed Nov 16, 2011 12:16 pm
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

Re: TCursor refresh bug

Hi Yeray

Yes this is what I was experiencing. I look forward to the next release then.

Kjaran
by Kjaran
Tue Nov 15, 2011 1:08 pm
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

Re: TCursor refresh bug

I ended up by calling it in the TChart.OnMouseEnter.

But I can see that it could fail if there are some non mouse events that change the form position or size.
by Kjaran
Tue Nov 15, 2011 12:51 pm
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

Re: TCursor refresh bug

Calling Repaint on the cursor fixes the problem.

But I'm not sure when to call it.

If I put it in the Cursor.OnChange the CPU use goes up to 10% when scrolling instead of 0-2%.
In the Form.OnPaint it is good for MDI but if the TChart goes off screen the paint event doesn't trigger.
by Kjaran
Tue Nov 15, 2011 10:36 am
Forum: VCL
Topic: TCursor refresh bug
Replies: 9
Views: 8304

TCursor refresh bug

Hi, I have a problem with the cursor not working correctly after moving a form outside the screen (or mainform for MDI) and back. The cursor will be visibly stuck but it is possible to move it around. If you minimize the form and restore it the cursor has moved and is working again. But as soon as y...