DxChartLegend.Visible Property

Specifies the legend’s visibility.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
[DefaultValue(true)]
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"></DxChartLegend>
</DxChart>

Online Demo

Charts - Legend Customization

See Also