Plotting a series with two different paths

2 posts, 0 answers
  1. Farhan
    Farhan avatar
    23 posts
    Member since:
    Sep 2010

    Posted 27 Sep 2011 Link to this post


    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.

  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 30 Sep 2011 Link to this post

    Hello Farhan,

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

    All the best,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top