Xceed Words for .NET v3.0 Documentation
AddLegend(ChartLegendPosition,Boolean) Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Chart Class > AddLegend Method : AddLegend(ChartLegendPosition,Boolean) Method
ChartLegendPosition value indicating the position of the ChartLegend.
true if other chart elements are allowed to overlap the ChartLegend, otherwise false.
Adds a ChartLegend to this Chart, using the provided ChartLegendPosition, and specifying if overlapping is allowed.
Syntax
'Declaration
 
Public Overloads Sub AddLegend( _
   ByVal position As ChartLegendPosition, _
   ByVal overlay As Boolean _
) 
'Usage
 
Dim instance As Chart
Dim position As ChartLegendPosition
Dim overlay As Boolean
 
instance.AddLegend(position, overlay)
public void AddLegend( 
   ChartLegendPosition position,
   bool overlay
)

Parameters

position
ChartLegendPosition value indicating the position of the ChartLegend.
overlay
true if other chart elements are allowed to overlap the ChartLegend, otherwise false.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, 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

Chart Class
Chart Members
Overload List