namespace anychart.math Improve this Doc
Namespace anychart.math
Learn more about indicator mathematics.
Functions Overview
cycledQueue() | Returns a queue with random access by indexes. Default maximum queue length is 256. It dequeues automatically when |
rect() | Constructor function. |
Typedefs Overview
anychart.math.CoordinateObject | Type definition for coordinate. |
Classes Overview
anychart.math.CycledQueue | Class for queues with random access by indexes. Default maximum queue length is 256. It dequeues automatically when |
anychart.math.Rect | Define rectangle. |
Functions Description
cycledQueue
Returns a queue with random access by indexes. Default maximum queue length is 256. It dequeues automatically when
the length of the queue reaches that limit. So to get larger queue - set the length limit explicitly.
Params:
Name | Type | Description |
---|---|---|
lengthLimit | number | The maximum length of the queue. Defaults to 256. |
Returns:
anychart.math.CycledQueue - The queue with random access by indexes.rect
Constructor function.
Params:
Name | Type | Description |
---|---|---|
x | number | X-coordinate. |
y | number | Y-coordinate. |
w | number | Width. |
h | number | Height. |
Returns:
anychart.math.Rect - Return the rectangle object.