This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to plot an infinite time series with some linear values on the y-axis and DateTime on the x-axis. The series will basically run infinitely - for example plotting something like all scheduled credit card payments against a DateTime axis.
I want the user to be able to keep scrolling left and right forever, and keep seeing the plot.
I can implement a data source that supports data virtualization as per: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh780657.aspx and http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2012/08/15/from-the-windows-8-camps-gridviews-listviews-and-large-data-sets.aspx.
Now, I need to plot this on a RadCartesianChart.
To test it out initially without DataVirtualization, I've added say 5 yrs worth of data. I want to view 1 month at a time in the chart viewport (with ticks 1 day apart). I then want the user to be able to pan to see the rest of the plot. How do I do this? (At the moment, I've used a pan-zoom behaviour but it tries to fit everything into one screen. Attached is what I have so far.
I've tried with different containers (Grid, StackPanel. Canvas) and with/without ScrollViewer - but I just can't get it to pan horizontally.
So the questions:
1. How do I get the chart to pan horizontally?
2. Does the chart support virtualization for me to implement something like this?
Regards,
Krishna
I'm trying to plot an infinite time series with some linear values on the y-axis and DateTime on the x-axis. The series will basically run infinitely - for example plotting something like all scheduled credit card payments against a DateTime axis.
I want the user to be able to keep scrolling left and right forever, and keep seeing the plot.
I can implement a data source that supports data virtualization as per: http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh780657.aspx and http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2012/08/15/from-the-windows-8-camps-gridviews-listviews-and-large-data-sets.aspx.
Now, I need to plot this on a RadCartesianChart.
To test it out initially without DataVirtualization, I've added say 5 yrs worth of data. I want to view 1 month at a time in the chart viewport (with ticks 1 day apart). I then want the user to be able to pan to see the rest of the plot. How do I do this? (At the moment, I've used a pan-zoom behaviour but it tries to fit everything into one screen. Attached is what I have so far.
I've tried with different containers (Grid, StackPanel. Canvas) and with/without ScrollViewer - but I just can't get it to pan horizontally.
So the questions:
1. How do I get the chart to pan horizontally?
2. Does the chart support virtualization for me to implement something like this?
Regards,
Krishna