Hi,
I have two doubts regarding XamDataChart and XamZoomBar.
1. Currently I'm using XamDataChart. When there are more datapoints on the chart and I zoom the chart with mouse, it takes some time to display the zoomed datapoints. And sometime it takes time to show the zoom rectangle while dragging.
So I would like to disable that and enable zooming only through the zoombar. Is there any possible way to do that ?
Also, I would like to capture the mouse coordinates and zoom (consecutive zoom) through code behind. How can this be accomplished ?
2. While adding series and axes to the XamDataChart, I want the preview of the same to be displayed in the horizontal zoom bar. Currently I do that by manually creating a copy of the series and axes, and then add them separately to the XamZoomBar again. Is there any other way of doing this, so that when the XamDataChart is refreshed and the XamZoomBar gets refreshed automatically ?
Thanks in advance.
Regards,
Sugan
Hello,
I have been looking into the functionality that you are trying to achieve and I have created a sample application for you which shows an approach for implementing the zooming that you are looking for.
Regarding the second question that you are having, since the preview of the XamZoombar is a different object, the approach that you are describing for adding the series manually in the preview XamDataChart when a series is added to the XamDataChart seems to be the best approach I could think of.
If you need any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support