Skip to main content

TcxGridChartDiagram.Enabled Property

Specifies whether the chart diagram can be displayed within a Chart View.

Declaration

property Enabled: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

Set the Enabled property to True to make a chart diagram available for displaying within a Chart View. To make the chart diagram visible within the View, set its Active property to True.

Note

A chart diagram cannot be activated once it’s been disabled (its Enabled property is set to False). The Active property’s value of the currently active chart diagram cannot be changed directly by setting this property to False. One of the possible ways to hide the currently active chart diagram from the View is to activate another diagram. The other way is to set the currently active diagram’s Enabled property to False. As a result, one of the diagrams available for displaying (which is enabled) will be activated. If all diagrams are disabled, nothing will be displayed within the View.

The default value of the Enabled property is True.

See Also