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 |
|
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>
You can also hide axis ticks. Use the following properties:
See Also