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

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

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoSideMargins property.

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.

See Also