Skip to main content

Legend.Visible Property

Gets or sets whether the legend is displayed on a chart.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool Visible { get; set; }

Property Value

Type Description
Boolean

true, to show the legend; otherwise, false.

Remarks

To hide specific legend entries, use the Legend.CustomEntries property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Visible property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also