Back to Devexpress

ChartObject.Legend Property

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-chartobject-8208a28d.md

latest1.4 KB
Original Source

ChartObject.Legend Property

Provides access to a chart legend.

Namespace : DevExpress.Spreadsheet.Charts

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Legend Legend { get; }
vb
ReadOnly Property Legend As Legend

Property Value

TypeDescription
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

ChartObject Interface

ChartObject Members

DevExpress.Spreadsheet.Charts Namespace