DataManipulator.FilterTopN Method (Int32, String, String, String, Boolean)
.NET Framework (current version)
Filters all data points in one or more series except for a specified number of points. The points that are not filtered correspond to points in the first input series that have the largest or smallest values.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Public Sub FilterTopN ( pointCount As Integer, inputSeriesNames As String, outputSeriesNames As String, usingValue As String, getTopValues As Boolean )
Parameters
- pointCount
-
Type:
System.Int32
The number of data points that the filtering operation will not remove.
- 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. Make sure that the number of output series matches 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.
- getTopValues
-
Type:
System.Boolean
true if the largest values are kept, false if the smallest values are kept.
.NET Framework
Available since 4.0
Available since 4.0
Show: