Skip to main content
A newer version of this page is available. .

DxChartLegend.Visible Property

Specifies the legend’s visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.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 the legend; otherwise, false.

Remarks

<DxChart Data="@DataSource">
    <DxChartLegend Visible="false" />
</DxChart>

Run Demo: Charts - Legend Customization

See Also