Performs custom filtering on one or more series' data points, based on the first series' points. The filtered series are also used to store the modified data.
Filters data points using IDataPointFilter interface.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Filter( _ ByVal filterInterface As IDataPointFilter, _ ByVal inputSeriesNames As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Filter( IDataPointFilter filterInterface, string inputSeriesNames ) |
Parameters
- filterInterface
- An object that implements the IDataPointFilter interface.
Filtering interface. - inputSeriesNames
- The name(s) of the series that will be filtered. For multiple series use a comma-separated list of names, and make sure that they are aligned. An asterisk (*) may be used to filter all series in the series collection.
Comma separated input series names.
Visual Basic | Copy Code |
---|---|
Imports Dundas.Charting.WinControl |
To utilize this method use a new or existing class (e.g. the WebForm class) that implements the IDataPointFilter interface and then override the FilterDataPoint method to provide custom filtering logic.
Note that filtering can be based on any attribute(s) of the data points (e.g. their first, second and third Y-values, etc.).
Filtering should only be applied to multiple series that are aligned, otherwise an exception will be thrown (for information concerning alignment of data see the Aligning Data topic). Note also that multiple series are filtered using the data points from the FIRST specified series. If two series must be filtered independently call the Filter method twice using one series as a parameter.
Filters are always applied to an entire series.
Filtered points can be either removed from a series (default) or displayed as empty points, depending on the FilterSetEmptyPoints value.
Points can also be marked as filtered if they DO NOT match filtering criteria (determined by the FilterMatchPoints value).
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family