Global

Members

(constant) createTooltip

Source:

Create a tooltip on a specified container at the given position.

(constant) getMinMax

Source:

Get the minimum and maximum values from an array.

(constant) getTextWidth

Source:

Measure the width of a text string for a given font size using SVG.

(constant) mapArrayOrTypedArray

Source:

A function to map over both regular JavaScript arrays and typed arrays.

(constant) parseMargins

Source:

Parses an object of margins and returns an object with top, bottom, left, and right margins as integers.

(constant) removeTooltip

Source:

Remove a tooltip from the specified container.

Methods

isObject(object) → {boolean}

Source:

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