TcxGridChartView.OnActiveDiagramChanged Event
Occurs when an active diagram is changed.
Declaration
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