Skip to main content

ChartHitInfo.Legend Property

Gets a legend which is located under the test point.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public Legend Legend { get; }

Property Value

Type Description
Legend

A Legend object which represents the legend located under the test point.

Remarks

Use the Legend property to access the legend located under the test point if the ChartHitInfoBase.InLegend property returns true. Note that if the ChartHitInfo.InLegend is false, then the Legend property returns null (Nothing in Visual Basic).

See Also