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

ChartObject.Legend Property

Provides access to a chart legend.

Namespace: DevExpress.Spreadsheet.Charts

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Legend Legend { get; }

#Property Value

Type Description
Legend

A Legend object that is the chart’s legend.

#Remarks

Use the Legend property to hide the legend or change its position. When a legend is displayed, you can modify the individual legend entries by using a Legend.CustomEntries property.

See Also