Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxPolarChartBaseSeries<T, TArgument, TValue>.Visible Property

Specifies series visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public bool Visible { get; set; }

#Property Value

Type Description
Boolean

true to display the series; otherwise, false.

#Remarks

If the AllowToggleSeries property is true, the series legend item displays a check box that allows users to hide or display the series.

Run Demo: Charts - Legend Customization

To hide the series in code, set its Visible property to false:

Razor
<DxPolarChart Data=@DataSource>
    <DxChartLegend Position="RelativePosition.Outside"
                   AllowToggleSeries="true" />
    <DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Day)"
                            Name="Day"
                            Visible="false">
    </DxPolarChartLineSeries>
    <DxPolarChartLineSeries ArgumentField="@((DiscretePoint i) => i.Arg)"
                            ValueField="@((DiscretePoint i) => i.Night)"
                            Name="Night">
    </DxPolarChartLineSeries>
</DxPolarChart>
See Also