DataManipulator.FilterTopN Method

Definition

Filters all data points in one or more series except for a specified number of data points.

Overloads

FilterTopN(Int32, String, String, String, Boolean)

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.

FilterTopN(Int32, Series, Series, String, Boolean)

Filters all data points in a series except for a specified number of points with the smallest or largest values.

FilterTopN(Int32, String, String, String)

Filters all data points in one or more series except for a specified number of data points. The points that are not filtered correspond to points in the first series that have the largest values.

FilterTopN(Int32, Series, Series, String)

Filters all data points in a series except for a specified number of data points with the largest values.

FilterTopN(Int32, String, String)

Filters out data points in one or more series except for a specified number of points. The points that aren't filtered correspond to points in the first series that have the largest first Y-values.

FilterTopN(Int32, Series)

Filters out all data points in a series except for a specified number of points with the largest first Y-values. The Series object that is filtered is used to store the modified data.

FilterTopN(Int32, String)

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 series that have the largest first Y-values. The Series objects that are filtered are used to store the modified data.

FilterTopN(Int32, Series, Series)

Filters all data points in a series except for a specified number of points with the largest first Y-values.

FilterTopN(Int32, String, String, String, Boolean)

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.

public:
 void FilterTopN(int pointCount, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames, System::String ^ usingValue, bool getTopValues);
public void FilterTopN (int pointCount, string inputSeriesNames, string outputSeriesNames, string usingValue, bool getTopValues);
member this.FilterTopN : int * string * string * string * bool -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeriesNames As String, outputSeriesNames As String, usingValue As String, getTopValues As Boolean)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeriesNames
String

A comma-separated list of names of the Series to be filtered.

outputSeriesNames
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
String

The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.

getTopValues
Boolean

true if the largest values are kept, false if the smallest values are kept.

Applies to

FilterTopN(Int32, Series, Series, String, Boolean)

Filters all data points in a series except for a specified number of points with the smallest or largest values.

public:
 void FilterTopN(int pointCount, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries, System::String ^ usingValue, bool getTopValues);
public void FilterTopN (int pointCount, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries, string usingValue, bool getTopValues);
member this.FilterTopN : int * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.DataVisualization.Charting.Series * string * bool -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeries As Series, outputSeries As Series, usingValue As String, getTopValues As Boolean)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeries
Series

The Series object to be filtered.

outputSeries
Series

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

usingValue
String

The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.

getTopValues
Boolean

true if the largest values are kept, false if the smallest values are kept.

Applies to

FilterTopN(Int32, String, String, String)

Filters all data points in one or more series except for a specified number of data points. The points that are not filtered correspond to points in the first series that have the largest values.

public:
 void FilterTopN(int pointCount, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames, System::String ^ usingValue);
public void FilterTopN (int pointCount, string inputSeriesNames, string outputSeriesNames, string usingValue);
member this.FilterTopN : int * string * string * string -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeriesNames As String, outputSeriesNames As String, usingValue As String)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeriesNames
String

A comma-separated list of names of the Series to be filtered.

outputSeriesNames
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
String

The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.

Applies to

FilterTopN(Int32, Series, Series, String)

Filters all data points in a series except for a specified number of data points with the largest values.

public:
 void FilterTopN(int pointCount, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries, System::String ^ usingValue);
public void FilterTopN (int pointCount, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries, string usingValue);
member this.FilterTopN : int * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.DataVisualization.Charting.Series * string -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeries As Series, outputSeries As Series, usingValue As String)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeries
Series

The Series object to be filtered.

outputSeries
Series

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

usingValue
String

The data point value that the filtering rule is applied to. Can be X, Y, Y2, Y3, and so forth.

Applies to

FilterTopN(Int32, String, String)

Filters out data points in one or more series except for a specified number of points. The points that aren't filtered correspond to points in the first series that have the largest first Y-values.

public:
 void FilterTopN(int pointCount, System::String ^ inputSeriesNames, System::String ^ outputSeriesNames);
public void FilterTopN (int pointCount, string inputSeriesNames, string outputSeriesNames);
member this.FilterTopN : int * string * string -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeriesNames As String, outputSeriesNames As String)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeriesNames
String

A comma-separated list of names of the Series to be filtered.

outputSeriesNames
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.

Applies to

FilterTopN(Int32, Series)

Filters out all data points in a series except for a specified number of points with the largest first Y-values. The Series object that is filtered is used to store the modified data.

public:
 void FilterTopN(int pointCount, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries);
public void FilterTopN (int pointCount, System.Web.UI.DataVisualization.Charting.Series inputSeries);
member this.FilterTopN : int * System.Web.UI.DataVisualization.Charting.Series -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeries As Series)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeries
Series

The Series object to be filtered.

Applies to

FilterTopN(Int32, String)

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 series that have the largest first Y-values. The Series objects that are filtered are used to store the modified data.

public:
 void FilterTopN(int pointCount, System::String ^ inputSeriesNames);
public void FilterTopN (int pointCount, string inputSeriesNames);
member this.FilterTopN : int * string -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeriesNames As String)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeriesNames
String

A comma-separated list of names of the Series to be filtered.

Applies to

FilterTopN(Int32, Series, Series)

Filters all data points in a series except for a specified number of points with the largest first Y-values.

public:
 void FilterTopN(int pointCount, System::Web::UI::DataVisualization::Charting::Series ^ inputSeries, System::Web::UI::DataVisualization::Charting::Series ^ outputSeries);
public void FilterTopN (int pointCount, System.Web.UI.DataVisualization.Charting.Series inputSeries, System.Web.UI.DataVisualization.Charting.Series outputSeries);
member this.FilterTopN : int * System.Web.UI.DataVisualization.Charting.Series * System.Web.UI.DataVisualization.Charting.Series -> unit
Public Sub FilterTopN (pointCount As Integer, inputSeries As Series, outputSeries As Series)

Parameters

pointCount
Int32

The number of data points that the filtering operation will not remove.

inputSeries
Series

The Series object to be filtered.

outputSeries
Series

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

Applies to