Xceed Chart for WinForms v4.4 Documentation
MultiBarMode Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > BarSeries Class : MultiBarMode Property
Controls the mode of the bar series.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("Options")>
<DescriptionAttribute("Controls the mode of the bar series.")>
Public Property MultiBarMode As MultiBarMode
'Usage
 
Dim instance As BarSeries
Dim value As MultiBarMode
 
instance.MultiBarMode = value
 
value = instance.MultiBarMode
[DefaultValue()]
[Category("Options")]
[Description("Controls the mode of the bar series.")]
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 BarSeries =  Chart1.Series.Add(SeriesType.Bar) 
Dim bar2 As BarSeries =  Chart1.Series.Add(SeriesType.Bar) 
bar2.MultiBarMode = MultiBarMode.Stacked
BarSeries bar1 = Chart1.Series.Add(SeriesType.Bar);
BarSeries bar2 = Chart1.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

BarSeries Class
BarSeries Members