Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Legend Interface

A legend in a chart.

Namespace: DevExpress.Spreadsheet.Charts

Assembly: DevExpress.Spreadsheet.v24.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