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

Plotting a series with two different paths

1 Answer 33 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Farhan
Top achievements
Rank 1
Farhan asked on 28 Sep 2011, 12:12 AM
Hi,

I am implementing a charting series that shows forcasted charts and their historical information. So I wanted to ask whether I could use the same line series and change the path to a dotted line when I wanted to show projected information. Is it possible by keeping in a flag in the data structure and then using that flag in the data trigger to draw the path as a dotted line instead of a solid line.

Right now my approach is to keep a pair of series in my collection - one for historical and one projected. If I have ten comparisons, I would simply keep 20 series in my collection. Would it be possible to avoid this situation and implement an optimized design as I have to cater to this approach since I wasn't able to work around the fact that we could have only one type of path per series.
Opinions on this would be helpful and I would appreciate a quick response.

Thanks,
Farhan

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 30 Sep 2011, 04:12 PM
Hello Farhan,

You may find the dashed/dotted lines discussed in this forum post which should help you achieve your scenario.

All the best,
Evgenia
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Chart
Asked by
Farhan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or