Vertical dotted line on a line graph

Thread is closed for posting
2 posts, 1 answers
  1. iTools
    iTools avatar
    28 posts
    Member since:
    Jun 2007

    Posted 08 Feb 2010 Link to this post

    I'm graphing integer values by date as a line graph.
    Y-axis is numeric type. X-axis is date type.

    I want to signify "today's date", so the current date, on the graph so user's can at a moments glance see which values pertain to the past and which to predictions. I want to represent this date as a vertical dotted line on the graph.

    How can I accomplish this?

  2. Answer
    Ves avatar
    2926 posts

    Posted 11 Feb 2010 Link to this post

    Hi Jan,

    You can use the Marked Zones feature for this. Please, find more details here:
    Some notes on this specific case -- you will probably want to supply appearance settings only for the marked zone's border and set its ValueStartX and ValueEndX properties with the same value. The value should be calculated using the DateTime OLE Automation equivalent --  DateTime.Now.ToOADate().

    Best regards,
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top