DxChartAxisTick.Visible Property
Specifies whether major ticks are displayed.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public bool Visible { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | `true` |
|
Remarks
The Chart component displays default axes with major ticks, and hides minor ticks.
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>
To change visibility of minor ticks, use their Visible property.
See Also