title: WPF Charting toolkit change axis interval labels programatically
body: <p>I'd like to programatically change the interval of labels on X axis of my Line chart. 
  The only thing I've found was how to do it in xaml file: <a href="https://stackoverflow.com/a/8944925/2302510">https://stackoverflow.com/a/8944925/2302510</a> and it works fine. I can do it for hours/days/months etc.
  However I need to change it according to what interval I'm displaying. User can choose to display one week, one month, one year or other given interval and when leaving it to default it just overcrowds the X axis with dates which makes it quite confusing. 
  Thanks for any advice.</p>