enabled property

bool? enabled
getter/setter pair

Enable or disable the legend. There is also a series-specific option, showInLegend, that can hide the series from the legend. In some series types this is false by default, so it must set to true in order to show the legend for the series.

API Docs: https://api.highcharts.com/highcharts/legend.enabled

Implementation

bool? enabled;