Hello Team,
My use case is as follows. I have a xamDataChart which displays stock prices. I have the data points from the market open to market close. But I only want to display latest 10 minutes of stock price at a given time. So if current time is 12:33 pm, my X axis would be having minimum value of 12:30 and maximum value of 12:40 pm.
But if the user wishes, he can use the horizontal scroll bar to move back to the previous 10 minute time frames. For eg user can scroll back to see the data from, say 11:20 am to 11:30 am. Then he can scroll forward to see the data from 12:00 to 12:10 pm. And finally scroll forward to the current time frame from 12:30 to 12:40 pm.
Can this be achieved ?
Thanks,
Manan
Hello Manan,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I can suggest you see the samples in the Samples Browser under xamDataChart / Navigation / Chart Navigation and xamDataChart / Navigation / Chart Zoombar sections where you can see how to use the XamZoombar in order to show only a specific part of your XamDataChart. Also you can set the zoom level by code. Here you can see a sample showing this:
http://ko.infragistics.com/community/forums/t/57600.aspx
Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
A slight change to my requirement. If the user wishes, he should be able to scroll back as much as he wants . For eg, if he wants to view data from market open uptil now, then he should be able to . Once he has viewed the data, he should also be able to zoom out to the current 10 minute window