Xceed Chart for WinForms v4.4 Documentation
FillRandomRange Method


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > DataSeries Class : FillRandomRange Method
count of random items
the random values must be greater than this value
the random values must be smaller than this value
Fills a data series containing double values with itemCount elements whose values are in the range from nFrom to nTo.
Syntax
'Declaration
 
Public Sub FillRandomRange( _
   ByVal itemCount As Integer, _
   ByVal from As Integer, _
   ByVal to As Integer _
) 
'Usage
 
Dim instance As DataSeries
Dim itemCount As Integer
Dim from As Integer
Dim to As Integer
 
instance.FillRandomRange(itemCount, from, to)
public void FillRandomRange( 
   int itemCount,
   int from,
   int to
)

Parameters

itemCount
count of random items
from
the random values must be greater than this value
to
the random values must be smaller than this value
Exceptions
ExceptionDescription
thrown if the data series does not contain double values
thrown if the from argument is bigger than the to argument
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

Reference

DataSeries Class
DataSeries Members