DxChartValueAxis.Indent Property
Gets or sets the horizontal indent between the axis and the neighboring value axis in pixels.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
[DefaultValue(5)]
[Parameter]
public int Indent { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Int32 | 5 | A value that specifies the indent between the axis and another value axis. |
#Remarks
To specify the distance between two axes, set the Indent
property for the second axis. For example, to add space between the first and the second axis, set the Indent
property for the second axis.
The following markup specifies the distance of 30 pixels between two axes:
@*The first axis:*@
<DxChartValueAxis>
<DxChartAxisTitle Text="Precipitation, mm" />
</DxChartValueAxis>
@*The second axis:*@
<DxChartValueAxis Name="Temperature"
Alignment="ChartAxisAlignment.Near"
Indent=30>
<DxChartAxisTitle Text="Temperature, C" />
</DxChartValueAxis>