100% Stacked Series Elements

A 100% Stacked Series Element is a collection of values that will be added to a 100% stacked series to be plotted as a 100% stacked chart. There are four different groups of 100% Stacked Series Elements corresponding to the four different types of stacked charts (stacked area, stacked bar, stacked column and stacked line). Each 100% stacked series element group will have both an indexed and a date-time type.

100% Stacked Area Series Elements

A Stacked100PercentAreaSeries has two types of elements, DateTime100PercentStackedAreaSeriesElement and Index100PercentStackedAreaSeriesElement.

DateTime100PercentStackedAreaSeriesElement

A DateTime100PercentStackedAreaSeriesElement is a collection of DateTime100PercentStackedArea values. This element uses the .NET Framework's DateTime structure to set the date portion of the values in the series.

The following code shows how to create and add values to a DateTime100PercentStackedAreaSeriesElement.

DateTime100PercentStackedAreaSeriesElement areaSeries = new DateTime100PercentStackedAreaSeriesElement("Website A");
areaSeries.Values.Add(521, new DateTime(2004, 1, 1));
areaSeries.Values.Add(969, new DateTime(2004, 1, 2));
areaSeries.Values.Add(452, new DateTime(2004, 1, 3));
areaSeries.Values.Add(347, new DateTime(2004, 1, 4));        
Dim MyAreaSeries As DateTime100PercentStackedAreaSeriesElement = New DateTime100PercentStackedAreaSeriesElement("Website A")
MyAreaSeries.Values.Add(521, New Date(2004, 1, 1))
MyAreaSeries.Values.Add(969, New Date(2004, 1, 2))
MyAreaSeries.Values.Add(452, New Date(2004, 1, 3))
MyAreaSeries.Values.Add(347, New Date(2004, 1, 4))  

Indexed100PercentStackedAreaSeriesElement

The Indexed100PercentStackedAreaSeriesElement is a collection of Indexed100PercentStackedArea values.

The following code shows how to create and add values to an Indexed100PercentStackedAreaSeriesElement.

Indexed100PercentStackedAreaSeriesElement areaSeries = new Indexed100PercentStackedAreaSeriesElement("Website A");      
areaSeries.Values.Add(521, 0);
areaSeries.Values.Add(969, 1);
areaSeries.Values.Add(452, 2);
areaSeries.Values.Add(347, 3);        
Dim MyAreaSeries As Indexed100PercentStackedAreaSeriesElement = New Indexed100PercentStackedAreaSeriesElement("Website A")
MyAreaSeries.Values.Add(521, 0)
MyAreaSeries.Values.Add(969, 1)
MyAreaSeries.Values.Add(452, 2)
MyAreaSeries.Values.Add(347, 3)   

100% Stacked Line Series Elements

A Stacked100PercentLineSeries has two types of elements, DateTime100PercentStackedLineSeriesElement and Indexed100PercentStackedLineSeriesElement.

DateTime100PercentStackedLineSeriesElement

The DateTime100PercentStackedLineSeriesElement is a collection of DateTime100PercentStackedLine values. It uses the .NET Framework's DateTime structure for setting the date portion of the values in the series.

The following code shows how to create and add values to a DateTime100PercentStackedLineSeriesElement.

DateTime100PercentStackedLineSeriesElement lineSeries = new DateTime100PercentStackedLineSeriesElement("Website A");
lineSeries.Values.Add(521, new DateTime(2004, 1, 1));
lineSeries.Values.Add(969, new DateTime(2004, 1, 2));
lineSeries.Values.Add(452, new DateTime(2004, 1, 3));
lineSeries.Values.Add(347, new DateTime(2004, 1, 4));        
Dim MyLineSeries As DateTime100PercentStackedLineSeriesElement = New DateTime100PercentStackedLineSeriesElement("Website A")
MyLineSeries.Values.Add(521, New Date(2004, 1, 1))
MyLineSeries.Values.Add(969, New Date(2004, 1, 2))
MyLineSeries.Values.Add(452, New Date(2004, 1, 3))
MyLineSeries.Values.Add(347, New Date(2004, 1, 4))              

Indexed100PercentStackedLineSeriesElement

The Indexed100PercentStackedLineSeriesElement is a collection of Indexed100PercentStackedLine values.

The following code shows how to create and add values to an Indexed100PercentStackedLineSeriesElement.

Indexed100PercentStackedLineSeriesElement lineSeries = new Indexed100PercentStackedLineSeriesElement("Website A");      
lineSeries.Values.Add(521, 0);
lineSeries.Values.Add(969, 1);
lineSeries.Values.Add(452, 2);
lineSeries.Values.Add(347, 3);        
Dim MyLineSeries As Indexed100PercentStackedLineSeriesElement = New Indexed100PercentStackedLineSeriesElement("Website A")
MyLineSeries.Values.Add(521, 0)
MyLineSeries.Values.Add(969, 1)
MyLineSeries.Values.Add(452, 2)
MyLineSeries.Values.Add(347, 3)  

100% Stacked Bar Series Elements

A Stacked100PercentBarSeries has two types of elements, DateTime100PercentStackedBarSeries and Indexed100PercentStackedBarSeriesElements.

DateTime100PercentStackedBarSeriesElement

The DateTime100PercentStackedBarSeriesElement is a collection of DateTime100PercentStackedBar values. It uses the .NET Framework's DateTime structure for setting the date portion of the values in the series.

The following code shows how to create and add values to a DateTime100PercentStackedBarSeriesElement.

DateTime100PercentStackedBarSeriesElement barSeries = new DateTime100PercentStackedBarSeriesElement("Website A");
barSeries.Values.Add(521, new DateTime(2004, 1, 1));
barSeries.Values.Add(969, new DateTime(2004, 1, 2));
barSeries.Values.Add(452, new DateTime(2004, 1, 3));
barSeries.Values.Add(347, new DateTime(2004, 1, 4));        
Dim MyBarSeries As DateTime100PercentStackedBarSeriesElement = New DateTime100PercentStackedBarSeriesElement("Website A")
MyBarSeries.Values.Add(521, New Date(2004, 1, 1))
MyBarSeries.Values.Add(969, New Date(2004, 1, 2))
MyBarSeries.Values.Add(452, New Date(2004, 1, 3))
MyBarSeries.Values.Add(347, New Date(2004, 1, 4))  

Indexed100PercentStackedBarSeriesElement

The Indexed100PercentStackedBarSeriesElements is a collection of Indexed100PercentStackedBar values.

The following code shows how to create and add values to an Indexed100PercentStackedBarSeriesElement.

Indexed100PercentStackedBarSeriesElement barSeries = new Indexed100PercentStackedBarSeriesElement("Website A");      
barSeries.Values.Add(521, 0);
barSeries.Values.Add(969, 1);
barSeries.Values.Add(452, 2);
barSeries.Values.Add(347, 3);         
Dim MyBarSeries As Indexed100PercentStackedBarSeriesElement = New Indexed100PercentStackedBarSeriesElement("Website A")
MyBarSeries.Values.Add(521, 0)
MyBarSeries.Values.Add(969, 1)
MyBarSeries.Values.Add(452, 2)
MyBarSeries.Values.Add(347, 3)      

100% Stacked Column Series Elements

A Stacked100PercentColumnSeries has two types of elements, DateTime100PercentStackedColumnSeriesElement and Indexed100PercentStackedColumnSeriesElement.

DateTime100PercentStackedColumnSeriesElement

The DateTime100PercentStackedColumnSeriesElement is a collection of DateTime100PercentStackedColumn values. It uses the .NET Framework's DateTime structure for setting the date portion of the values in the series.

The following code shows how to create and add values to a DateTime100PercentStackedColumnSeriesElement.

DateTime100PercentStackedColumnSeriesElement columnSeries = new DateTime100PercentStackedColumnSeriesElement("Website A");
columnSeries.Values.Add(521, new DateTime(2004, 1, 1));
columnSeries.Values.Add(969, new DateTime(2004, 1, 2));
columnSeries.Values.Add(452, new DateTime(2004, 1, 3));
columnSeries.Values.Add(347, new DateTime(2004, 1, 4));       
Dim MyColumnSeries As DateTime100PercentStackedColumnSeriesElement = New DateTime100PercentStackedColumnSeriesElement("Website A")
MyColumnSeries.Values.Add(521, New Date(2004, 1, 1))
MyColumnSeries.Values.Add(969, New Date(2004, 1, 2))
MyColumnSeries.Values.Add(452, New Date(2004, 1, 3))
MyColumnSeries.Values.Add(347, New Date(2004, 1, 4))   

Indexed100PercentStackedColumnSeriesElement

The Indexed100PercentStackedColumnSeriesElement is a collection of Indexed100PercentStackedColumn values.

The following code shows how to create and add values to an Indexed100PercentStackedColumnSeriesElement.

Indexed100PercentStackedColumnSeriesElement columnSeries = new Indexed100PercentStackedColumnSeriesElement("Website A");      
columnSeries.Values.Add(521, 0);
columnSeries.Values.Add(969, 1);
columnSeries.Values.Add(452, 2);
columnSeries.Values.Add(347, 3);        
Dim MyColumnSeries As Indexed100PercentStackedColumnSeriesElement = New Indexed100PercentStackedColumnSeriesElement("Website A")
MyColumnSeries.Values.Add(521, 0)
MyColumnSeries.Values.Add(969, 1)
MyColumnSeries.Values.Add(452, 2)
MyColumnSeries.Values.Add(347, 3)

In this topic