Hello,
I am developing my CustomDrawing using as template
the sample MyTest_CustomDraw_Modify
How to detect in the code when the user has zoomed the chart?
Thanks
How to detect in the code when the user zooms a chart? [SOLVED]
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: How to detect in the code when the user zooms a chart? [SOLVED]
If you mean with zooming having the bar spacing changed, then the `Environment.BarSpacing` property will return a different value after zooming compared to before it.How to detect in the code when the user has zoomed the chart?
Other `Environment` properties, like `Environment.HighestScaleValue` or `Environment.RightScreenTime`, will likely also change.