Is there a style to apply that allows the legend to style each series as a button?

By : JaJ
Source: Stackoverflow.com
Question!

I'd like to style my legend so that each series looks like a button so it's more intuitive so users know they can click on a series and filter by each series.

How can I achieve this?

By : JaJ


Answers

See the Highcharts legend documentation.

Hopefully, you may find an available property that fits to your needs.

Edit: I would play with the style property



Look at the itemStyle property, which allows you to specify css for each legend item:

http://api.highcharts.com/highcharts#legend.itemStyle

You will also need to look at the itemHiddenStyle and itemHoverStyle properties:

By : jlbriggs


This video can help you solving your question :)
By: admin