scale-r, scaleR

[ root » graph » scale-r ]

Pie Charts Only: Use the scaleR object to set the aperture and refAngle. Refer to the Pie Charts Tutorialfor more information. Gauge Charts Only: Use the scaleR object to configure the scale. Refer to the Angular Gauge Charts Tutorialfor more information.

AttributeTypeInfo

aperture

Numeric

Pie Charts Only: To change the aperture from the default 360 degrees. Refer to the Pie Charts Tutorialfor more information. Gauge Charts Only: To change the aperture from the default 270 degrees. Refer to the Angular Gauge Charts Tutorial for more information.

300 | 180 | 90 | ...

center

Object

Gauge Charts Only: To style the pivot point of the gauge needle.

{...}

guide

Object

Gauge Charts Only: To style the scale guides.

{...}

item

Object

Gauge Charts Only: To style the scale items.

{...}

labels

Array

Gauge Charts Only: To set custom labels that correspond to each tick mark on the scale. If there are more tick marks than labels, the default scale values will be used for the remaining labels.

['A', 'B', 'C', 'D', 'E'] | ...

markers

Object

Gauge Charts Only: To create and style the scale markers.

[...]

minor-guide minorGuide

Object

Gauge Charts Only: To style the minor scale guides.

{...}

minor-tick minorTick

Object

Gauge Charts Only: To style the minor tick marks.

{...}

minor-ticks minorTicks

Numeric

Gauge Charts Only: To set the number of minor tick marks displayed between the major tick marks.

9 | 5 | 2 | ...

ref-angle refAngle

Numeric

Pie Charts Only: To set the reference (starting) angle, which by default is set to 90 degrees (or 3 o'clock). Refer to the Pie Charts Tutorial for more information.

180 | 90 | 120 | ...

ring

Object

Gauge Charts Only: To style the ring that appears around the outer edge of the gauge.

{...}

tick

Object

Gauge Charts Only: To style the tick marks.

{...}

values

Mixed

Gauge Charts Only: To set the minimum, maximum, and step scale values.

'0:10' | '0:25:5' | ...