I have charts that might contain data several hours long, but often it is desired to zoom into levels a minute long or less. The problem is that this is prevent by the minimum zoom setting. And I cannot set the minimum zoom setting lower than 1,1 , or 1% of total length. Why is this, and is it possible to bypass this so that we can zoom in further?
4 Answers, 1 is accepted
I am researching for a possibility to set such zoom setting, but I need some more time for this. I will do my best to update you no longer than Monday.
Thank you in advance for understanding.
I am following up on Stefan's place. By default the chart zoom is restricted to minimum zoom=1 and maximum zoom = 100. This means that you cannot zoom out more than the chart's original size. This is restricted by the minimum zoom. And also you cannot zoom in more than 100 times the original size. This is restricted by the maximum zoom.
You can control the allowed zoom range via the MaxZoom and MinZoom properties of RadCartesianChart.
Note that the MinZoom cannot be set to a value less than 1,1.
Note that the MinZoom cannot be set to a value less than 1,1.[/quote]
Ok, so it is impossible? Is there any plans to add support for deeper zoom levels?
We don't plan to introduce zooming-out to a minimum value lower than 1,1. However, you can implement similar behavior by using a ScaleTransform that you can apply when you reach a zoom level, lower than the original size of the chart. You can do this when the MouseWheel event of the chart fires. Basically, you can check if the mouse wheel is rotated into the zoom-out direction (scroll down) and if the current zoom is 1,1. If so, apply a ScaleTransform to the chart.