Back to Devexpress

DxChartAxisTick.Width Property

blazor-devexpress-dot-blazor-dot-dxchartaxistick-045b50f9.md

latest1.3 KB
Original Source

DxChartAxisTick.Width Property

Specifies the tick width.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(1)]
[Parameter]
public int Width { get; set; }

Property Value

TypeDefaultDescription
Int321

The width of ticks in pixels.

|

Remarks

Use the Width and Length properties to specify tick size.

The following example sets the tick thickness to 3 pixels:

razor
<DxChart Data="@forecasts">
    <DxChartLineSeries ArgumentField="@((WeatherForecast i) => i.Date)"
                       ValueField="@((WeatherForecast i) => i.TemperatureF)"
                       Name="Temperature, F" />
    <DxChartArgumentAxis>
        <DxChartAxisTick Visible="true" Width="3" />
    </DxChartArgumentAxis>
</DxChart>

See Also

DxChartAxisTick Class

DxChartAxisTick Members

DevExpress.Blazor Namespace