Your requirement could be achieved if you use the RadChartView Annotaions
and more specifically the CartesianPlotBandAnnotation
. In order to highlight a time range in your chart you could create an annotation similar to this one:
where the Axis
property determines with which axis the annotation must be associated, the From
is the starting point of the plot band and To
is the ending point.
I prepared a sample project to demonstrate the described approach.
As for your last question, you can use our WPF ChartView
in a WPF
solution and run it in Windows8
. However, if you need a charting component specifically designed for Windows8
development, you can take advantage of the Windows8 RadChart
control, which also supports the CartesianPlotBandAnnotation.
For mobile devices you can use the RadControls for Windows Phone
, where you could use the same approach with the CartesianPlotBandAnnotation
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 >>