.netCHARTING v10.5 Documentation
Example 


Limit Property (Series)
Gets or sets the limit number of elements returned for this series when data is generated.
Syntax
'Declaration
 
Public Property Limit As String
'Usage
 
Dim instance As Series
Dim value As String
 
instance.Limit = value
 
value = instance.Limit
public string Limit {get; set;}
Remarks

This property determines the number of elements to include in the limited return in conjuction with LimitMode property. The limit string can be a number "3" or "2x3". In the second format, the first number determines the group positon and the second number is the limit. By setting "2x3" with top limit mode, it only return the second "3" maximum elements.


Note: If DateGrouping is used limit has no effect, you can limit the return with the StartDate and EndDate in such a case.

See also: Getting Started > Tutorials > Data Engine.

Example
Series.Limit = "10";
Series.Limit = "2x10";
Series.Limit = "10"
Series.Limit = "2x10"
Requirements

Target Platforms: 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

See Also