Need help in implementing some specific function to your LightningChart Ultimate powered application? Post a question and get code snippets from other LightningChart Ultimate community members.
2 posts • Page 1 of 1
You can use the Revert feature (means “restore pre-defined range values). ViewXY.ZoomPanOptions has RightToLeftZoomAction, set it to RevertAxisRanges. Axes have RangeRevertMinimum and RangeRevertMinimum properties. Store new values there which you want to use as un-zoom values. You can change the values as you want when running the software, for example when you make a zoom in, axis RangeChanged event handler would be suitable place. When you make the right to left zoom gesture next time, it’ll set the range to these revert ranges.
LightningChart Support Team, PT