Here the revenueChart variable contains a reference to the chart object.

Using the Items Object

When the FusionCharts library is used and charts are rendered on a page, an items object contains references to all the charts used in the page. The FusionCharts items object returns a reference to the id of the chart passed to it.

The following code snippet shows how to get a reference of the chart using this method. revenueChart contains the object reference we are looking at.