I've had a problem with the cursortool using fastlineseries with very large values.
When I was moving the CursorTool (cssBoth style), it was jumping everywhere. The problem is in the function TCursorTool.NearestPoint() :
Code: Select all
tmpDif:=Sqrt(Sqr(IXValue-XValues.Value[t])+Sqr(IYValue-YValues.Value[t]));
I could correct this bug this way :
In the Function TCursorTool.SnapToPoint() :
CHANGED
Code: Select all
if Assigned(Series) and FSnap then result:=NearestPoint(FStyle,Difference)
Code: Select all
if Assigned(Series) and FSnap then result:=NearestPoint(cssVertical,Difference)
I'm sorry because I didn't have much time to really test this bug, but I wanted to report you this problem.
Yours.