SpreadsheetGear 2023
Legend Property (IChart)


SpreadsheetGear.Charts Namespace > IChart Interface : Legend Property
Returns an instance of ILegend which represents the legend of this chart, or null if HasLegend is false.
Syntax
'Declaration
 
ReadOnly Property Legend As ILegend
'Usage
 
Dim instance As IChart
Dim value As ILegend
 
value = instance.Legend
ILegend Legend {get;}
Remarks
The IChart.HasLegend property must be set to true to access an instance of ILegend.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IChart Interface
IChart Members
HasLegend Property