DataManipulator.FilterTopN Method (Int32, Series, Series)

.NET Framework (current version)
 

Filters all data points in a series except for a specified number of points with 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,
	Series inputSeries,
	Series outputSeries
)

Parameters

pointCount
Type: System.Int32

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

inputSeries
Type: System.Web.UI.DataVisualization.Charting.Series

The Series object to be filtered.

outputSeries
Type: System.Web.UI.DataVisualization.Charting.Series

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

.NET Framework
Available since 4.0
Return to top
Show: