Back to Devexpress

DxChartSeriesLegendItem.Visible Property

blazor-devexpress-dot-blazor-dot-dxchartserieslegenditem-053bc06b.md

latest1.0 KB
Original Source

DxChartSeriesLegendItem.Visible Property

Specifies whether to display the series legend item.

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, if the legend item is visible; false, if the legend item is hidden.

|

Remarks

The following code hides a series from the legend:

razor
<DxChartLineSeries>
    ...
    <DxChartSeriesLegendItem Visible="false"/>
    ...
</DxChartLineSeries>

See Also

DxChartSeriesLegendItem Class

DxChartSeriesLegendItem Members

DevExpress.Blazor Namespace