.netCHARTING v10.5 Documentation
Example 


Limit Property (DataEngine)
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
'Declaration
 
Public Property Limit As String
'Usage
 
Dim instance As DataEngine
Dim value As String
 
instance.Limit = value
 
value = instance.Limit
public string Limit {get; set;}
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.

Example
de.Limit="3";
de.Limit="2x3";
de.Limit="3"
de.Limit="2x3"
Example
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