Dundas.SharePoint.Charting.WebParts Send comments on this topic.
FilterTopN(Int32,Series,Series,String,Boolean) Method
See Also 
Dundas.Charting.WebControl Namespace > DataManipulator Class > FilterTopN Method : FilterTopN(Int32,Series,Series,String,Boolean) Method


pointCount
Number of top/bottom points to return.
inputSeries
Input series.
outputSeries
Output series.
usingValue
Defines which value of the point use in comparison (X, Y, Y2, ...).
getTopValues
Indicate that N top values must be retrieved, otherwise N bottom values.
Keeps only N top/bottom points of the series.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub FilterTopN( _
   ByVal pointCount As Integer, _
   ByVal inputSeries As Series, _
   ByVal outputSeries As Series, _
   ByVal usingValue As String, _
   ByVal getTopValues As Boolean _
) 
Visual Basic (Usage) Copy Code
Dim instance As DataManipulator
Dim pointCount As Integer
Dim inputSeries As Series
Dim outputSeries As Series
Dim usingValue As String
Dim getTopValues As Boolean
 
instance.FilterTopN(pointCount, inputSeries, outputSeries, usingValue, getTopValues)
C#  
public void FilterTopN( 
   int pointCount,
   Series inputSeries,
   Series outputSeries,
   string usingValue,
   bool getTopValues
)

Parameters

pointCount
Number of top/bottom points to return.
inputSeries
Input series.
outputSeries
Output series.
usingValue
Defines which value of the point use in comparison (X, Y, Y2, ...).
getTopValues
Indicate that N top values must be retrieved, otherwise N bottom values.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also