XYDiagram2D Class
Represents the diagram type that is used to construct 2D XY chart types.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v19.1.dll
Declaration
public abstract class XYDiagram2D :
Diagram,
IIndicatorCalculator,
IXYDiagram,
IDiagram,
IXYDiagram2D,
IAxisProvider,
IXtraSupportDeserializeCollectionItem,
IScrollingZoomingOptions,
ISupportRangeControl
Remarks
The XYDiagram2D class represents the diagram type used to plot series which are displayed using the X and Y axes. These include all 2D view types (including both the Gantt and Swift Plot series), except for the Pie, Doughnut and Funnel, and Radar (Polar) series views.
In addition to the settings inherited from the base Diagram class, the XYDiagram2D class implements specific properties that allow you to control the following characteristics of a diagram.
- properties of the default and additional panes (XYDiagram2D.DefaultPane, XYDiagram2D.Panes, XYDiagram2D.PaneDistance and XYDiagram2D.PaneLayoutDirection);
- properties that enable a diagram’s scrolling (XYDiagram2D.EnableAxisXScrolling and XYDiagram2D.EnableAxisYScrolling) and zooming (XYDiagram2D.EnableAxisXZooming and XYDiagram2D.EnableAxisYZooming);
- a diagram’s margins (XYDiagram2D.Margins).
An object of the XYDiagram2D type can be accessed via the ChartControl.Diagram property of a chart control that displays series compatible with this diagram type.