Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Filter Method (CompareMethod, Double, Series, Series)

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

.NET Framework 4.6 and 4.5

Filters the data points in a series by applying a filtering rule to the first Y-value of each of the data points.

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

public void Filter(
	CompareMethod compareMethod,
	double compareValue,
	Series inputSeries,
	Series outputSeries
)

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.

inputSeries
Type: System.Web.UI.DataVisualization.Charting.Series

The Series object to be filtered.

outputSeries
Type: System.Web.UI.DataVisualization.Charting.Series

A Series object that stores the filtered data. If the series does not exist, an exception will be thrown.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft