TdxCustomChartControl.Diagrams Property
Declaration
property Diagrams[AIndex: Integer]: TdxChartCustomDiagram read; write; default;
Property Value
Type | Description |
---|---|
TdxChartCustomDiagram | A diagram. Cast the returned object to the TdxChartXYDiagram or TdxChartSimpleDiagram class depending on the actual diagram type to access all public API members. Call the |
Remarks
A diagram is a pane designed to display and manage series in the Chart control.
Use the DiagramCount property to obtain the number of diagrams accessible through the Diagrams
property. To access only visible diagrams, use the VisibleDiagrams property.
Available Diagram Types
Cast the Diagrams
property value to the corresponding diagram class to access all diagram type-specific properties and methods. The Chart control ships with the following diagram classes:
- TdxChartXYDiagram
A diagram designed to display series using the axis of arguments (X-axis) and the axis of values (Y-axis). An XY diagram can plot Area, Bar, and Line series.
- TdxChartSimpleDiagram
Diagram Deletion
To delete a diagram, release it directly in code (call the Free procedure in Delphi or use the delete
keyword in C++Builder).