Export (0) Print
Expand All

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

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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft