Hi
We are using xamDataChart control in our Silverlight application. Our requirement is to display Daylight Saving values. So can you help me out here on how to achieve this?
Thanks
Chris
Hello Chris,
Thank you for your email. I have been looking into the question that you are having and what I can suggest is hiding the label for the skipped hour. Since the CategoryDateTimeXAxis is displaying time range, it will display all the days and hours in that range. Another approach that I can suggest is using a CategoryXAxis, which displays a label for each item in its ItemsSource. You can set the ItemsSource of the CategoryXAxis to a collection that contains the times of your series and skip the daylight saving hour. I have created a sample application for you, that shows how you can implement those approaches.
Also, you can use NumericXAxis for the DateTime (you can see how you can use DateTime with Numeric Axis here: http://ko.infragistics.com/community/forums/t/67174.aspx) and the custom tick mark functionality of the NumericXAxis to define your own tick marks. You can read how the custom tick marks can be implemented here: http://help.infragistics.com/NetAdvantage/WPF/current/CLR4.0/?page=xamDataChart_Creating_Custom_Axis_Tickmark_Values.html.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
I am trying to use this against the Line Series. We have the X Axis which is a CategoryDateTimeXAxis and a NumericYAxis. We need the chart to handle the display of Day Light Saving cross over times. E.g. If on Mar 31 2013, it was the start of Day Light Saving, then on that day the times should reflect in this sequence 31 Mar 2013 00:00, 02:00, 03:00. Notice the 01:00 has been skipped. Since the xamDataChart creates its own ticks on the axis, is there any property or override mechanism to achieve this using xamDataChart?
I am just checking if you require any further assistance on the matter.
Thank you for your post. I have been looking into it and I am not completely sure what is the exact data that you wish to show, using the XamDataChart. Would you please provide me with more detailed description on what the “Daylight Saving values” means and what is the structure of the data? Also, would you please provide me with more details on series type that you would like to use?
Looking forward to hearing from you.