This documentation is archived and is not being maintained.

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

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

public:
void FilterTopN(
	int pointCount, 
	Series^ inputSeries
)

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.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: