Skip to main content

DxChartAxis<T>.Visible Property

Specifies axis visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor


public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true to display an axis; otherwise, false.


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" />

Axes are hidden

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

See Also