PDA

View Full Version : How to lock CategoryAxis?


FlashBulb
03-03-2008, 04:06 PM
I have a categoryAxis in a LineChart, which is a series of years, 2008 to 2019.

When I add a LineSeries that doesn't span all the years (let's say, starts at 2012 and goes to 2018), the axis drops all the other years, and displays the LineSeries across the whole graph. How can I 'lock' the horizontal axis so that the new LineSeries appears in the middle, and all years remain showing?

Also... the years aren't appearing until I dynamically put the first Series in... why is that?