onClickVisibilityToggle
Type: Boolean
Parent: Chart.Legend()
Default Value: true
Description: Toggle DataSeries/DataPoint visibility(Hide/Show) by clicking on legend Item

Set onClickVisibilityToggle property of DataPoint as true to enable onClickVisibilityToggle or set it to false to disable onClickVisibilityToggle in Legend.

Let us checkout the example below:



Toggle DataSeries/DataPoint visibility(Hide/Show) by clicking on legend Item