Skip to main content

DxChartAxisMinorTick.Visible Property

Specifies whether minor ticks are displayed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean `false`

true to display minor ticks; otherwise, false.

Remarks

The Chart component displays default axes with major ticks, and hides minor ticks.

Chart's default tick appearance

You can configure tick visibility for each axis independently. The following code snippet specifies the Visible property for both axis:

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

All Chart Ticks are hidden

To change visibility of major ticks, use their Visible property.

See Also