Xceed Chart for WinForms v4.4 Documentation
Filter Method


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > DataSeries Class : Filter Method
the used comparison method
the comparison value
Obtains a data series subset containing only the indexes of the values which mach the specified criteria.
Syntax
'Declaration
 
Public Function Filter( _
   ByVal compareMethod As CompareMethod, _
   ByVal compareValue As Double _
) As DataSeriesSubset
'Usage
 
Dim instance As DataSeries
Dim compareMethod As CompareMethod
Dim compareValue As Double
Dim value As DataSeriesSubset
 
value = instance.Filter(compareMethod, compareValue)

Parameters

compareMethod
the used comparison method
compareValue
the comparison value

Return Value

reference to the resulting data set
Remarks
Each value in the collection is compared using compareMethod with the value specified by compareValue. If the comparison succeded then the index of the value is added in the subset.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataSeries Class
DataSeries Members