getChartById() Method
Description
Returns link to a chart object in the objectModel.
See Updating chart using Object Model article for more information.
Parameters
- id:String
Chart id
Returns
Object
See charts 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