XYDiagram Class
Represents a diagram that is used to plot all 2D XY series, except for the Gantt and Radar and Polar series views.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v17.2.dll
Declaration
Remarks
The XYDiagram class represents the diagram type used to plot series which are displayed using the X and Y axes. For the complete list of supported series views, refer to XY-Diagram.
In addition to the settings inherited from the base Diagram and XYDiagram2D classes, the XYDiagram class implements specific properties that allow you to control the following characteristics of a diagram.
- settings of the primary X and Y axes (XYDiagram.AxisX, XYDiagram.AxisY);
- settings of the secondary X and Y axes (XYDiagram.SecondaryAxesX, XYDiagram.SecondaryAxesY);
- direction in which a diagram and its axes are rotated (XYDiagram.Rotated).
An object of the XYDiagram type can be accessed via the ChartControl.Diagram property of a chart control that displays series compatible with this diagram type.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the XYDiagram class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.