javascript - Highcharts, changing legend icon to represent image -


i'm creating stacked bar graph, , wondering if modify legend able place image/icon instead of default box.

default look:

default look

what want like:

what want like

there no api allow inserting images instead of series symbols in legend. quickest solution comes mind create custom legend inside chart using renderer (api: http://api.highcharts.com/highcharts#renderer) or outside chart using html elements. other possible extend highcharts (how-to: http://www.highcharts.com/docs/extending-highcharts/extending-highcharts) , enable additional feature.

example custom legend outside chart: http://jsfiddle.net/hs941kka/


Comments