Back to Devexpress

DxChartAxisMinorTick.Length Property

blazor-devexpress-dot-blazor-dot-dxchartaxisminortick-6d50cd3e.md

latest1.7 KB
Original Source

DxChartAxisMinorTick.Length Property

Specifies the length of minor ticks.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(7)]
[Parameter]
public int Length { get; set; }

Property Value

TypeDefaultDescription
Int327

The length of minor ticks in pixels.

|

Remarks

Set the Visible property to true to show minor ticks on an axis. Use the Length property to set the tick length. You can also use the Shift property to align minor ticks relative to the axis line.

The following example sets tick length to 10 pixels:

razor
<DxChart Data="@forecasts">
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       Name="Temperature, F" />
    <DxChartValueAxis>
        <DxChartAxisMinorTick Visible="true"
                              Shift="6"
                              Length="10" />
    </DxChartValueAxis>
</DxChart>

See Also

DxChartAxisMinorTick Class

DxChartAxisMinorTick Members

DevExpress.Blazor Namespace