DataManipulator.Filter Method (CompareMethod, Double, String, String, String)

.NET Framework (current version)
 

Filters one or more series by applying a filtering rule to the specified data point values in the first series.

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

public void Filter(
	CompareMethod compareMethod,
	double compareValue,
	string inputSeriesNames,
	string outputSeriesNames,
	string usingValue
)

Parameters

compareMethod
Type: System.Web.UI.DataVisualization.Charting.CompareMethod

A CompareMethod enumeration value that determines the comparison method for the filtering rule. Can be LessThan, EqualTo, and so forth.

compareValue
Type: System.Double

The value part of the filtering rule that is applied to the first Y-values of data points. For example, in the filtering rule "<6", 6 is the value.

inputSeriesNames
Type: System.String

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

outputSeriesNames
Type: System.String

A comma-separated list of names of the Series that store the filtered data. The number of output series must equal the number of input series, otherwise an exception will be thrown.

usingValue
Type: System.String

The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.

.NET Framework
Available since 4.0
Return to top
Show: