Nevron .NET Vision
Nevron.Chart Namespace / NSeriesBase Class / Legend Property
Example


In This Topic
    Legend Property (NSeriesBase)
    In This Topic
    Gets or sets an instance of the NSeriesLegend class controlling the representation of the series in the legend.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Attributes")>
    <System.ComponentModel.DescriptionAttribute("Controls the representation of the series in the legend.")>
    Public Property Legend As NSeriesLegend
    'Usage
     
    
    Dim instance As NSeriesBase
    Dim value As NSeriesLegend
     
    instance.Legend = value
     
    value = instance.Legend
    [System.ComponentModel.Category("Attributes")]
    [System.ComponentModel.Description("Controls the representation of the series in the legend.")]
    public NSeriesLegend Legend {get; set;}
    Example
    The following code shows all series data points in the legend.
    bar.Legend.Mode = SeriesLegendMode.DataPoints
    bar.Legend.Mode = SeriesLegendMode.DataPoints;
    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