dotnetCHARTING Send comments on this topic.
Limit Property
See Also  Example
dotnetCHARTING Namespace > Series Class : Limit Property


Gets or sets the limit number of elements returned for this series when data is generated.

Syntax

Visual Basic (Declaration) 
Public Property Limit As String
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim value As String
 
instance.Limit = value
 
value = instance.Limit
C# 
public string Limit {get; set;}

Example

C#Copy Code
Series.Limit = "10"; 
Series.Limit = "2x10"; 
    
Visual BasicCopy Code
Series.Limit = "10"
Series.Limit = "2x10"

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.

See Also