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


Gets or sets the limit number of elements returned for each series when data is generated. Gets or sets the limit number of elements returned for each series when data is generated. This property determines the number of elements to include in the limited return. The limit string can be a number "3" or "2x3". In the second format, the first number determines the group position and the second number is the limit. By setting "2x3" with top limit mode, it only return the second "3" maximum elements.

Syntax

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

Example

C#Copy Code
de.Limit="3";
de.Limit=
"2x3";
    
Visual BasicCopy Code
de.Limit="3"
de.Limit="2x3"

Example

Remarks

If DateGrouping is used, limit has no effect. In such a case, StartDate and EndDate must be used to limit the generated element count.



See Getting Started > Tutorials > Data Engine.

See Also

© 2016 All Rights Reserved.