DataManipulator.Group Method (String, Double, IntervalType, Double, IntervalType, String, String)

.NET Framework (current version)
 

Groups one or more series, using one or more formulas. Output series are used to store the grouped data points, and an offset can be used for intervals.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void Group(
	string formula,
	double interval,
	IntervalType intervalType,
	double intervalOffset,
	IntervalType intervalOffsetType,
	string inputSeriesName,
	string outputSeriesName
)

Parameters

formula
Type: System.String

A comma-separated list of one or more formulas to be used for calculating the grouped data point values.

interval
Type: System.Double

The size of the interval checked for missing data points.

intervalType
Type: System.Web.UI.DataVisualization.Charting.IntervalType

The unit of measurement for the interval parameter.

intervalOffset
Type: System.Double

The interval offset size.

intervalOffsetType
Type: System.Web.UI.DataVisualization.Charting.IntervalType

The unit of measurement for the interval offset.

inputSeriesName
Type: System.String

A comma-separated list of names of the Series to be grouped.

outputSeriesName
Type: System.String

A comma-separated list of names of the Series that will store the grouped data points. If a series does not exist, it will be created; if it does exist, it will first be cleared of all data before storing grouped data points. The number of output series must equal the number of input series, or an exception will be thrown.

.NET Framework
Available since 4.0
Return to top
Show: