Nevron .NET Vision
Nevron.Chart Namespace / NLegend Class / NLegend Constructor
Example


In This Topic
    NLegend Constructor
    In This Topic
    Creates a new legend.
    Syntax
    'Declaration
     
    
    Public Function New()
    'Usage
     
    
    Dim instance As New NLegend()
    public NLegend()
    Remarks
    You must add the legend object to the legends collection before it can be displayed by the chart.
    Example
    The following example adds a new legend.
    NLegend legend = new NLegend();
    NChartControl.Legends.Add(legend);
    NLegend legend = new NLegend();
    NChartControl.Legends.Add(legend);
    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