Skip to main content

Range.AutoSideMargins Property

Specifies whether a space should be left between the outermost series point and the diagram’s edge, when it is scrolled.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public bool AutoSideMargins { get; set; }

Property Value

Type Description
Boolean

true, if the series are plotted with indents; otherwise, false.

Remarks

Use the AutoSideMargins property to force an axis to automatically extend its scroll range so that indents are preserved on both ends of the axis.

The following images demonstrate how the AutoSideMargins property works for random data.

AutoSideMargins = true AutoSideMargins = false; Range.SideMarginsValue = 0;
AutoSideMarginsTrue AutoSideMarginsFalse
See Also