Skip to main content
All docs
V24.1

DxChartAxisBase<T>.Visible Property

Specifies axis visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true to display an axis; otherwise, false.

Remarks

Set the Visible property to false to hide an axis. The following code snippet hides the value and argument axes:

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

Axes are hidden

You can also hide axis ticks. Use the following properties:

See Also