This example illustrates how to implement an alternative zooming method using a separate ChartControl to adjust the visible axis range. Two ConstantLine objects are used to indicate the adjustable range area. The ChartControl.CustomPaint event is also used to emphasize the range area.
See Also:
Get Diagram bounds in CustomPaint event handler if side margins are enabled
Question Comments
Added By: Wolfgang Schmidt 6 at: 12/17/2013 11:20:43 PM
Tried example with 13.2.5 -> does not work .hitInfo.InConstantLine is always false, wherever a click is made.
Added By: Alex (DevExpress Support) at: 12/18/2013 6:35:24 AMHi Wolfgang,
To resolve this issue, set the "chartSelectRange" -> RuntimeHitTesting property to True. I will update the example accordingly. Thank you for noticing this.