Visual Basic (Declaration) | |
---|---|
Public Property Limit As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public string Limit {get; set;} |
C# | Copy Code |
---|---|
Series.Limit = "10"; |
Visual Basic | Copy Code |
---|---|
Series.Limit = "10" |
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.