Hi,
I am using XamDataChart with X axis as a datetime axes for tick data. What I would like to do is (as in the attached image) be able to define zoom levels and corresponding x axis labels for e.g.:
- Zoom level 1 - This is displayed when chart loads first time.It displays a dotted section of 5 days with small tick marks for the days in between e.g. 07/06 | | | 07/10 | |...and so on.
- Zoom level 2 - The user can click on the 5 day section and are displayed data points for those 5 days with small tick marks for an interval of 4 hours with as in the attached image e.g. 07/06 | | | | | 07/07 | | ..and so on.
Thank you for the assistance.
I updated Graham's code to work with 15.1 and posted a sample on that forum thread.
Hi Rob,
Thank you for your response. I actually tried the source code on the link http://ko.infragistics.com/community/forums/t/52624.aspx but got a NULL ref exception and commented on the page this morning. Do you have a resolution for the issue or a working sample?
Hello Mohit,
The X axis should have a Minimum, Maximum and Interval property which you can set in order to control how the labels are displayed. You can change these properties dynamically depending on what the current zoom level you have chosen.
You might also want to check out the following forum thread. A previous customer needed the axis labels to be displayed in a similar way that you have them in your screenshot and we provided some code for them to achieve something similar.http://ko.infragistics.com/community/forums/t/52624.aspx