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

Several LineSeries on the same chart.

1 Answer 40 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Larion
Top achievements
Rank 1
Larion asked on 02 Dec 2014, 09:18 AM
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?

1 Answer, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 04 Dec 2014, 08:42 AM
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.

 
Tags
Chart
Asked by
Larion
Top achievements
Rank 1
Answers by
Victor
Telerik team
Share this question
or