Skip to main content

DxChartLegend.Visible Property

Specifies the legend’s visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.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