Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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