AxisBase.SideMargins Property
In This Article
Specifies the distance between the outermost series point and the diagram edge, in axis units.
Namespace: DevExpress.WinUI.Charts
Assembly: DevExpress.WinUI.Charts.v23.2.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:
Side |
Side |
---|---|
![]() |
![]() |
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