ChartAxisTick.getLineHeight

Syntax

getLineHeight();

Description

The getLineHeight method returns height of the label text.

Example

Executing the example requires an instance of the ChartAxisTick class named axisTick (see ChartAxisTick Constructor). Get height of the label text:

// Get height of the label text
console.log("Label text height: " + axisTick.getLineHeight());

After this the label text height is shown in the console:

Label text height: 24

See also:

ChartAxisTick