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
Declaration
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; |
---|---|
![]() |
![]() |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.