RandomEntriesGenerator

class RandomEntriesGenerator(xRange: IntProgression = 0..X_RANGE_TOP, yRange: IntProgression = 0..Y_RANGE_TOP)

Generates randomized chart entries.

Parameters

xRange

the range of x values.

yRange

the range from which y values are randomly selected.

Constructors

Link copied to clipboard
constructor(xRange: IntProgression = 0..X_RANGE_TOP, yRange: IntProgression = 0..Y_RANGE_TOP)

Functions

Link copied to clipboard

Generates a List of FloatEntry instances with randomized y values. The size of the List is equal to the number of values in xRange.

Link copied to clipboard

Creates a ComposedChartEntryModel with three ChartEntryModelProducers, each containing a collection of FloatEntry instances with randomized y values. The size of each collection is equal to the number of values in xRange.

Link copied to clipboard

Creates a ChartEntryModel containing a collection of FloatEntry instances with randomized y values. The size of the collection is equal to the number of values in xRange.