Skip to main content

XYDiagram2D.Margins Property

Specifies the indent between the diagram‘s edge and other chart elements (e.g. legend and chart titles), in pixels.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public RectangleIndents Margins { get; }

Property Value

Type Description
RectangleIndents

A RectangleIndents object, representing the diagram’s outer indents, measured in pixels. The default is 5.

See Also