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.v23.1.dll

NuGet Package: DevExpress.Wpf.Charts


public bool AutoSideMargins { get; set; }

Property Value

Type Description

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


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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoSideMargins property.


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.

See Also