ShowInLegend: Boolean;
The ShowInLegend property determines whether the data series is shown in the chart legend.
Use JSON or the setShowInLegend method to set the property value, and the getShowInLegend method to get the property value.
Available values:
true. Data series is shown in the chart legend (default).
false. Data series is not shown in the chart legend.
The setShowInLegend method contains the value parameter that indicates whether data series is shown in the chart legend, and the redraw parameter that indicates whether chart needs to be redrawn.
Available values for the redraw parameter:
true. The chart should be redrawn.
false. Chart redrawing is not required (default).
The example of use is given on the Example of Creating a Histogram page.
See also: