Back to Devexpress

DxChartLegend.Visible Property

blazor-devexpress-dot-blazor-dot-dxchartlegend.md

latest1019 B
Original Source

DxChartLegend.Visible Property

Specifies the legend’s visibility.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(true)]
[Parameter]
public bool Visible { get; set; }

Property Value

TypeDefaultDescription
Booleantrue

true, to display the legend; otherwise, false.

|

Remarks

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

Run Demo: Charts - Legend Customization

See Also

DxChartLegend Class

DxChartLegend Members

DevExpress.Blazor Namespace