Skip to main content
All docs
V25.1
  • DxPolarChartBaseSeries<T, TArgument, TValue>.Visible Property

    Specifies series visibility.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [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.

    Toggle series in the legend

    Run Demo: Charts - Legend Customization

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

    <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