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.OnActiveDiagramChanged Event

In This Article

Occurs when an active diagram is changed.

#Declaration

Delphi
property OnActiveDiagramChanged: TcxGridChartDiagramEvent read; write;

#Remarks

The OnActiveDiagramChanged event is fired when the currently active diagram (which is accessible via the ActiveDiagram property) is changed. The ADiagram parameter refers to the diagram which becomes active within the View specified by the Sender parameter.

To activate a specific diagram, set the diagram’s Active property to True.

Note

When the ActiveDiagram property is set to nil and the first enabled diagram within the View’s Diagrams collection is activated and displayed within the View the OnActiveDiagramChanged event is not raised.

See Also