Annotations > JavaScript API |
|||||||||
The annotations can be controlled by JavaScript using the following methods: |
|||||||||
|
|||||||||
|
|||||||||
Using these methods | |||||||||
To use any of the methods above, you'll first need to register the chart with JavaScript by setting registerWithJS flag to 1, as under. (Note the last parameter set as 1) |
|||||||||
var chart1 = new FusionCharts("HLED.swf", "ChId1", "350", "100", "0", "1"); | |||||||||
Thereafter, you can refer to the chart using its DOM Id and call any of these methods as shown below: | |||||||||
<HTML> |
|||||||||