Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartView.ActiveDiagram Property

Specifies the diagram which will be displayed (or active) within the View.

#Declaration

Delphi
property ActiveDiagram: TcxGridChartDiagram read; write;

#Property Value

Type
TcxGridChartDiagram

#Remarks

The chart displays a single diagram at a time. The diagram which is currently displayed within the View (its Active property is set to True) is called active. Set the ActiveDiagram property to specify the diagram which will be active within the View. In order to make the specified diagram active its Enabled property needs to be set to True. When the active diagram is changed the OnActiveDiagramChanged event is fired. When the ActiveDiagram property is set to nil the first enabled diagram within the View’s Diagrams collection is activated and displayed within the View. In this case the OnActiveDiagramChanged event is not raised.

Note

To activate a specific diagram at design time, you can either choose the required diagram from the list of the available diagrams via the ActiveDiagram property in the Object Inspector window, or select the one using the Chart View’s diagram selector.

See Also