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

Vertical dotted line on a line graph

1 Answer 147 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
iTools
Top achievements
Rank 1
iTools asked on 08 Feb 2010, 11:39 PM
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?

Cheers.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 11 Feb 2010, 07:28 AM
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,
Ves
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.
Tags
Chart (Obsolete)
Asked by
iTools
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or