Hi,
I want to achieve zooming on the data chart. And I'm currently facing a problem. When I zoom on the chart and the mouse moves outside the the chart area. The zoom rectangle starts expanding in the inverse direction of the mouse. I have attached a screenshot for better understanding.
-Thanks
Hello,
After some investigation out development team said that this behavior is expected and it happens is by design, because the zoom rectangle should keep its volume.
Hello again,
I have another question regarding the scatter chart. Is there a way to select all the points within the zoom rectangle?I have tried selecting the points by using the cordinates of the zoom rectangle and the values of the points to check if they fall within the zoom rectangle to select them. But since on the edges of the chart the zoom rectangle gives the behaviour mentioned above, I can't use the corridinates of the zoom rectangle.
If you want to take all the points, you can use the XamDataChart's WindowRect Property, which is a Rect representing the visible portion of the SeriesViewer.