Skip to main content
A newer version of this page is available. .

XYDiagram2D Class

Represents the diagram type that is used to construct 2D XY chart types.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.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.

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the XYDiagram2D 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.

Implements

See Also