Skip to main content

Legend Interface

A legend in a chart.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v23.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public interface Legend :
    ShapeFormat,
    ShapeFormatBase

The following members return Legend objects:

Remarks

The Legend object is accessible by using the ChartObject.Legend property.

The Legend object contains one or more legend entries. Their characteristics are specified by using the properties of the Legend object. To show or hide a specific entry, or modify an entry individually, use the Legend.CustomEntries property.

Set the Legend.Visible property to true to show the legend.

See Also