AxisBase.SideMargins Property
Specifies the distance between the outermost series point and the diagram edge, in axis units.
Namespace: DevExpress.WinUI.Charts
Assembly: DevExpress.WinUI.Charts.v22.1.dll
NuGet Package: DevExpress.WinUI
Declaration
Property Value
Type | Description |
---|---|
Double | A value that specifies side margins in axis units. |
Remarks
The following images show a chart with different side margins values:
SideMargins = 0 | SideMargins = 10 |
---|---|
The following example removes horizontal offsets between the outermost series point and the diagram’s edge:
<Charts:CartesianChart.AxisX>
<Charts:AxisX x:Name="axisX" SideMargins="0"/>
</Charts:CartesianChart.AxisX>
See Also