Skip to main content

DxChartAxisTick.Visible Property

Specifies whether major 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 `true`

true to display 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>
        <DxChartAxisTick Visible="false" />
    </DxChartArgumentAxis>
    <DxChartValueAxis>
        <DxChartAxisTick Visible="false" />
    </DxChartValueAxis>
</DxChart>

All Chart Ticks are hidden

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

See Also