This is a migrated thread and some comments may be shown as answers.

Marked Zone for Time Values

1 Answer 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dirk Luyckx
Top achievements
Rank 1
Dirk Luyckx asked on 08 Dec 2010, 05:29 PM
Hello,

I would like to make a Marked Zone on a Chart with the X-axis containing DateTime Values (marking Peak and OffPeak zones).
Something like:

<

 

 

telerikCharting:ChartArea.Annotations>
    <telerikCharting:MarkedZone StartX="7:00" EndX="21:00" Background="AliceBlue"/>
    <telerikCharting:MarkedZone StartX="7:00" EndX="21:00" Background="Red"/>
</
telerikCharting:ChartArea.Annotations>

 

However, StartX and EndX expect double values. Any idea how to do the conversion?

Thanks,

Dirk

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 10 Dec 2010, 09:01 AM
Hello Dirk,

To see more information along the lines of the requested functionality, please refer to the following article:

http://www.telerik.com/help/silverlight/radchart-features-datetime-support.html

I hope it gets you started properly.

All the best,
Yavor
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Chart
Asked by
Dirk Luyckx
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or