Several LineSeries on the same chart.

2 posts, 0 answers
  1. Larion
    Larion avatar
    1 posts
    Member since:
    Nov 2014

    Posted 02 Dec 2014 Link to this post

    How to do such things as in your demo? There several charts with multiply area, bar or line series. But I have not found how to do this in guides. Is that possible?
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 04 Dec 2014 Link to this post

    Hello Larion,

    Thanks for the question.
    If you have a look at our Getting Started online help article, you will notice that section called Create Series contains the following line of code:
    chartView.getSeries().add(lineSeries);
    Here you can see that getSeries() returns a collection or some sort of list because it has an add() method. You can call add() multiple times with more series and your chart will display all of them.

    Regards,
    Victor
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
Back to Top