govin

enable, disable line through legend

Recommended Posts

Hi,

 

Please help me on this.

 

As i know after rendering line chart , we can hide(disable) the line by clicked the LEGEND.

 

for first time , it always enabled(shown).

 

My request is , how to hide(disbaled) when rendering(loading )the   line chart .

 after that user can enabled by clicking legend.

 

 

Share this post


Link to post
Share on other sites

Hey,

 

To disable the legend while rendering the chart, try setting "visible" attribute as o in the respective dataset element.

 

Note: This works only for JavaScript charts.

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