888ba8
Posts: 44
Joined: Mon Dec 21, 2020 11:18 am

Any example online of a Gantt highchart with a legend?

Hi,

I would be very interested to look at a sample / example of a Gannt highchart with a legend? I did not managed to find any In JS API Reference (Highcharts Gantt, v 8.2.2) there is only one 'try it' example under legend, and it s not a gantt chart.
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Any example online of a Gantt highchart with a legend?

Hi,

We appreciate you reaching out to us again.

There is an option in our API to turn on the legend:

Code: Select all

  legend: {
    enabled: true
  },


Live demo:
https://jsfiddle.net/0rdwm1ax/

API References:
https://api.highcharts.com/gantt/legend

Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Gantt”