Damian
Damian

Reputation: 120

How to enable or disable option of legend in fusion chart

I´m using fusion chart, and i need to use external legend like a checkbox.

How can i enabled or disable options of my chart, from the checkbox ?

Thanks for your answer.

Upvotes: 1

Views: 2441

Answers (1)

FraZer
FraZer

Reputation: 1693

You can use the FusionCharts JavaScript class to update the data on event strike.

For more information on updating the chart, visit-

http://docs.fusioncharts.com/charts/contents/JavaScript/JS_ChangeData.html#update

The attribute 'visible' of the element can be used for this purpose to show and to hide the data plot.

Upvotes: 1

Related Questions