Marked Zone for Time Values

2 posts, 0 answers
  1. Dirk Luyckx
    Dirk Luyckx avatar
    1 posts
    Member since:
    Jul 2009

    Posted 08 Dec 2010 Link to this post

    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

  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 10 Dec 2010 Link to this post

    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
Back to Top