Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

wpf graph: force cursors to plot area

Is it possible to force data-linked cursors to be inside plot area? So that if Y is more than Y axis max, then cursor will be at the top, and if Y is less than Y axis min, cursor is at the bottom, and same for X? I have an idea how to make it manually, but maybe there is a simpler way...

0 Kudos
Message 1 of 2
(5,611 Views)

There is no configuration property available to constrain the value of a cursor. For the manual implementation, you can listen to the PositionChanged event and modify the current position with the SetDataPosition method, if necessary.

~ Paul H
0 Kudos
Message 2 of 2
(5,606 Views)