javascript - Highcharts - How to programmatically toggle legend items and determine which items are selected -


so have couple of requests our designers:

1) allow users select/deselect legend items via clicking link outside chart container. means need programmatically toggle items in chart on or off, regardless if selected/deselected.

2) determine particular legend items selected (or enabled) in chart can generate chart selections.

i don't see way either using api wondering if has come possible solution either (or both).

thanks in advance guidance.

highcharts allow toggle legend states outside.

series[0].hide(); series[0].show(); provided highcharts can use implement functionality asked for.

here fiddle reference http://jsfiddle.net/gfnyk/1/


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -