Export (0) Print
Expand All

DataManipulator::FilterTopN Method (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.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public:
void FilterTopN(
	int pointCount, 
	String^ inputSeriesNames, 
	String^ outputSeriesNames
)

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.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft