Make LineChart scrollable

Oct 28, 2014 at 7:40 PM
I finally was able to use the chart controls and I made my LinearChart.

The problem is that on my X axis I'm using a CategoricalAxis to display some dates as strings, and when the number of points increases they got stacked together and I don't like it at all.

(I've used a little number of points in the screenshot but you can imagine how it will be with more points).

So, what I'd like to do is to make it scrollable so that I have always a fixed number of points shown and, to see the others, the user has to scroll horizontally.

It would also be nice to have the ability to pinch & zoom to better explore the chart.

Is this possible somehow?
Oct 28, 2014 at 7:42 PM
Oct 28, 2014 at 7:49 PM
Can you please tell me how?
There's no such thing in the LineChart samples and I can't find any kind of documentation online :\
Oct 28, 2014 at 7:52 PM
I don't know how. You can certainly put the chart in a ScrollViewer and browse through the control code to see how to change the different parameters or set the width of the control based on the number of input points. Unfortunately I don't have the time to figure it out myself, sorry.