Page 1 of 1

[CursorTool] Problem when axis.startposition > 0

Posted: Wed Dec 13, 2006 9:24 am
by 9343260
Hello,

I noticed a strange behaviour :

1. I reduce a vertical axis by setting its startPosition to 50
2. I add the "Axis Arrows" tool and move the serie to the top of the chart, meaning the serie is upper than the top of the axis
3. I add a cursorTool linked to this serie, with the property Snap = true

=> the cursor will not follow the serie because of the limit set by the top of the axis

Illustration :
Image


This is not really a "bug", but I think it's not really the expected behaviour. Is there a simple way to avoid this problem and make the cursor follow the serie even if the axis is reduced ?

Posted: Mon Dec 18, 2006 4:01 pm
by Pep
Hi,

the only way I can think of would be to use the OnChange event of the CursorTool to know the axis pos of the cursor and change the axis min/max when the cursor pos is at the top of the axis.