Nevron .NET Vision
Nevron.Chart Namespace / NBarSeries Class / MultiBarMode Property
Example


In This Topic
    MultiBarMode Property
    In This Topic
    Controls the mode of the bar series.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Options")>
    <System.ComponentModel.DescriptionAttribute("Controls the combination mode of the bar series.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property MultiBarMode As MultiBarMode
    'Usage
     
    
    Dim instance As NBarSeries
    Dim value As MultiBarMode
     
    instance.MultiBarMode = value
     
    value = instance.MultiBarMode
    [System.ComponentModel.Category("Options")]
    [System.ComponentModel.Description("Controls the combination mode of the bar series.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public MultiBarMode MultiBarMode {get; set;}
    Remarks
    Defines the behaviour of the series in case multiple bar series are created. By default set to Series which means that the bar series is displayed in separate depth space.
    Example
    The following example creates a stack bar chart.
    Dim bar1 As NBarSeries =  NChart1.Series.Add(SeriesType.Bar) 
    Dim bar2 As NBarSeries =  NChart1.Series.Add(SeriesType.Bar) 
    bar2.MultiBarMode = MultiBarMode.Stacked
    NBarSeries bar1 = NChart1.Series.Add(SeriesType.Bar);
    NBarSeries bar2 = NChart1.Series.Add(SeriesType.Bar);
    bar2.MultiBarMode = MultiBarMode.Stacked;
    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