I have several series all using independent x axis but I have had to add code to make sure they are all showing the exact same range. Is it not possible to have them all share the same x axis? Each time I add a series I tried simply finding the current CategoryDateTimeXAxis and setting it to the series's xaxis but the axis labels are never displayed.
Is there an example of adding a CategoryDateTimeXAxis to the xaml and then programmatically adding the a series which uses that CategoryDateTimeXAxis?
Mike,
I am working on this. I will consult our chart experts here and post back here with more information.
Thanks,
One of my colleagues provided a sample which I believe demonstrates the functionality you are asking about. Please review the attached sample and let me know if this is helpful.
Due to the way I currently have the series data separated I do not think I can use the same method demonstrated in the sample you provided. Each series is a separate set of DateTime/double pairs. Some series will have 100 points while another will have 10000 but the DateTimes will all be relative to each other. In the sample you provided all the data is in the same set with the same number of points.
The reason I am trying to get all the series to use the same axis is that I have recently run into an issue where if the series date ranges are different enough then they do not line up on the chart together properly. For example I have a series that only covers about a few hours at a few second intervals and another that covers 4 days. The first series starts at 8:52:39 and the second starts at 8:52:44. However, when zoomed enough to see the difference between the two it appears that the first series starts nearly 2 minutes after the second when the data shows it starts 4 seconds before. If I remove the second series then the first series displays correctly. I am still working on a sample outside of our main app to reproduce this issue but it appears to be highly dependent on the data input.
Thanks for the update. I will keep an eye out for your new sample when you add it to this thread.
The sample was too big to include the infragisitcs dlls I am using so I had to remove them. The version I am using is 10.3.20103.2021.
To reproduce the issue, run the sample, select the "Historical" radio button at the bottom left and then zoom in to the beginning. As you get closer to the 1 second interval level you will see the bottom series start to shift to the right a bit.
My data will always come in as separate collections per series. To combine it into a single dataset seems like a waste if I could simply add a series point the series to an existing xaxis and then to a new data set.
Hi,
We were able to reproduce the issue in the version that you have been using , based on a simillar application that you had posted in another forum post
http://forums.infragistics.com/forums/t/50950.aspx
For your reference , I have submitted bug #62865 and have advised Dev Support Team to link you as a contact so that you may be notified when the issued is resolved.
Shilpa
Mike, I have created a support case for you and linked it to the Development issue logged by Shilpa (#62865) so you will be notified when the issue has been addressed.