Xceed Chart for WinForms v4.4 Documentation
MultiAreaMode Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > AreaSeries Class : MultiAreaMode Property
Controls the mode of the area series.
Syntax
'Declaration
 
<DefaultValueAttribute()>

<CategoryAttribute("Options")>

<DescriptionAttribute("Controls the mode of the area series.")>

Public Property MultiAreaMode As MultiAreaMode
'Usage
 
Dim instance As AreaSeries

Dim value As MultiAreaMode

 

instance.MultiAreaMode = value

 

value = instance.MultiAreaMode
[DefaultValue()]

[Category("Options")]

[Description("Controls the mode of the area series.")]

public MultiAreaMode MultiAreaMode {get; set;}
Remarks
This property determines the way in which the area series interacts with the other created area series. By default set to MultiAreaMode.Series
Example
The following code will create a stack area chart.
Dim area1 As AreaSeries =  Chart.Series.Add(SeriesType.Area) 

Dim area2 As AreaSeries =  Chart.Series.Add(SeriesType.Area) 

area1.Add(12)

area1.Add(24)

area1.Add(42)

area2.Add(24)

area2.Add(34)

area2.Add(16)

area2.MultiAreaMode = MultiAreaMode.Stacked
AreaSeries area1 = Chart.Series.Add(SeriesType.Area);

AreaSeries area2 = Chart.Series.Add(SeriesType.Area);

area1.Add(12);

area1.Add(24);

area1.Add(42);

area2.Add(24);

area2.Add(34);

area2.Add(16);

area2.MultiAreaMode = MultiAreaMode.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

AreaSeries Class
AreaSeries Members
MultiAreaMode Enumeration