Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
CursorPosition in CrosshairLayer not over data point if zoomed
posted

Hi,

I have a binding for CursorPosition in CrosshairLayer:

<Setter Property="CursorPosition" Value="{Binding DataCursorPosition, Mode=OneWay}" />

If I change the zoom it is placed not over data point, if not zoomed works fine.
updating cursor cursor in ViewModel:
DataCursorPosition = (double)(dataPoint.Time.Ticks - minTime.Ticks) / (maxTime.Ticks - minTime.Ticks); 
Best regards,
Krzysztof
Parents Reply Children