GaugeScale.setLabelsColor

Syntax

setLabelsColor(color: PP.Color || String, index: Number);

Parameters

color. Text labels' color.

index. Index of text label, for which we set new color value. This parameter is optional. If this parameter is not defined, new color is set for all text labels in the scale.

Description

The setLabelsColor method sets color of text labels in speedometer scale.

Example

The example of use is given on the page with description of the GaugeScale.addArrow method.

See also:

GaugeScale