Skip to main content
.NET Framework 4.5.2+

Legend.Visible Property

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

Namespace: DevExpress.Spreadsheet.Charts

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


bool Visible { get; set; }

Property Value

Type Description

true, to show the legend; otherwise, false.


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.


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