damian

Enable or Disable item from de chart and Legend

Recommended Posts

Hi,

 

I need to enable or disable items from the chart and Legend. For example if i have the chart, and the item of he legend like a checkbox independent, not inside chart.

 

thanks for your answer.

 

best regards,

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum Post.

 

Yes, it is possible to enable/disable items from legend(appear within the chart canvas area) and through the check box. The chart can be re rendered based on the selected check box value.

Please refer the attached sample. I've used the 'visible' attribute of the <dataset> element to show/hide the data plots.

This feature is only available in JavaScript Charts.

For Ex-

   <dataset seriesName='2005' visible='0'>

 

Hope this helps.

checkboxsample.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now