ChartScroller.getSize

Syntax

getSize();

Description

The getSize method returns scroller height.

Example

Executing the example requires an instance of the ChartScroller class named scroller (see ChartScroller Constructor). Get scroller height:

// Get scroller height
console.log("Scroller height: " + scroller.getSize());

After this scroller height is displayed in the browser console:

Scroller height: 35.800000000000004

See also:

ChartScroller