showInLegend
Type: Boolean
Parent: Chart.DataSeries()
Default Value: true
Description: Whether to display one entry for this DataSeries in the Legend or not.

Set showInLegend property of DataSeries as true to enable showInLegend or set it to false to disable showInLegend in DataSeries.

Let us checkout the example below: