SpreadsheetGear 2017
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.
ReadOnly Property Legend As ILegend
Dim instance As IChart
Dim value As ILegend
value = instance.Legend
ILegend Legend {get;}
read-only property Legend: ILegend; 
function get Legend : ILegend
__property ILegend* get_Legend();
property ILegend^ Legend {
   ILegend^ get();
The IChart.HasLegend property must be set to true to access an instance of ILegend.

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


IChart Interface
IChart Members
HasLegend Property