getSeriesById() Method
Description
Gets series object from the object model by its id.
See Updating chart using Object Model article for more information.
Parameters
- chartId:String
Chart id
- seriesId:String
Series id
Returns
Object
See seriesList array element description in JSON Reference.
Note: The return value may be null if the method is called while the component is not drawn yet. To avoid this case you should call this method only after onChartDraw event is raised.
Samples
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample
Online HTML/JavaScript Sample