Members
(constant) createTooltip
Create a tooltip on a specified container at the given position.
(constant) getMinMax
Get the minimum and maximum values from an array.
(constant) getTextWidth
Measure the width of a text string for a given font size using SVG.
(constant) mapArrayOrTypedArray
A function to map over both regular JavaScript arrays and typed arrays.
(constant) parseMargins
Parses an object of margins and returns an object with top, bottom, left, and right margins as integers.
(constant) removeTooltip
Remove a tooltip from the specified container.
Methods
isObject(object) → {boolean}
Check if a given variable is an object and not an array.
Parameters:
| Name | Type | Description |
|---|---|---|
object |
any | The variable to check. |
Returns:
- Returns true if the variable is an object, and not an array.
- Type
- boolean