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

Range.SideMarginsValue Property

Specifies the space between the outermost series point and the diagram’s edge.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v18.2.dll

Declaration

public double SideMarginsValue { get; set; }

Property Value

Type Description
Double

The side margins value, in the axis’ current measurement unit.

Remarks

When you specify side margins using the SideMarginsValue property, this automatically resets the Range.AutoSideMargins property.

For the axis that measures date-time values and whose scale options (AxisX2D.DateTimeScaleOptions, AxisY2D.DateTimeScaleOptions) is Continuous (ContinuousDateTimeScaleOptions) the current measurement unit is DateTimeMeasureUnit.Millisecond. The date time axis with automatic scale options (AutomaticDateTimeScaleOptions) has the automatically calculated current measurement unit that depends on the specified data set. And, the ManualDateTimeScaleOptions.MeasureUnit property specifies the current measurement unit of an axis that uses the manual scale options (ManualDateTimeScaleOptions).

For the axis that measures numeric values and whose scale options (AxisX2D.NumericScaleOptions, AxisY2D.NumericScaleOptions) is Continuous (ContinuousNumericScaleOptions) the current measurement unit is 1. The date time axis with automatic scale options (AutomaticNumericScaleOptions) has the automatically calculated current measurement unit that depends on the specified data set. And, the ManualNumericScaleOptions.MeasureUnit property specifies the current measurement unit of an axis that uses the manual scale options (ManualNumericScaleOptions).

The following code snippets (auto-collected from DevExpress Examples) contain references to the SideMarginsValue 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