Regarding the first requirement you can try using the DateTimeCoutituesAxis. It exposes Maximum property that can be handy in your particular scenario.
Regarding the second requirement, you can try using the HorizontalZoomRangeStart and HorizontalZoomRangeEnd properties of the RadCartesianChart control (or the VerticalZoomRangeStart and the VerticalZoomRangeEnd). These properties accept values between 0 and 1. In your particular case you can try setting them like so:
By using this code you will force the RadCartesianChart to Zoom-In and visualize the last 30% of the chart. In other words the charting component is capable of visualizing a percent of the series (or the plot area) - rather then any count of data points.
Please give this approach a try and let me know if you need any further assistance.
Pavel R. Pavlov
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 >>