Instead of using DateTimeCategoricalAxis, you can use the DateTimeContinuousAxis, which provides two bindable properties Minimum
. You can use these properties to set the range of the axis from the ViewModel as per your requirements.
I have attached a sample project demonstrating that.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>