Nevron .NET Vision Documentation
MultiBarMode Property
Example 


Controls the mode of the bar series.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DescriptionAttribute("Controls the combination mode of the bar series.")>
<System.ComponentModel.CategoryAttribute("Options")>
Public Property MultiBarMode As MultiBarMode
'Usage
 
Dim instance As NBarSeries
Dim value As MultiBarMode
 
instance.MultiBarMode = value
 
value = instance.MultiBarMode
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.Description("Controls the combination mode of the bar series.")]
[System.ComponentModel.Category("Options")]
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

Reference

NBarSeries Class
NBarSeries Members

Send Feedback