Nevron .NET Vision
Nevron.Chart Namespace / NSeriesLegend Class / Mode Property
Example


In This Topic
    Mode Property (NSeriesLegend)
    In This Topic
    Determines the mode in which the legend is filled with information about the series.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Determines the mode in which the legend is filled with information about the series.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Mode As SeriesLegendMode
    'Usage
     
    
    Dim instance As NSeriesLegend
    Dim value As SeriesLegendMode
     
    instance.Mode = value
     
    value = instance.Mode
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Determines the mode in which the legend is filled with information about the series.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.Xml.Serialization.XmlAttribute()]
    public SeriesLegendMode Mode {get; set;}
    Remarks
    By default it set to Series.
    Example
    The following code fills the legend with the data points displayed by a bar series.
    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