scale-k, scaleK

[ root » graph » scale-k ]

Radar Charts Only: The scaleK object is similar to the scaleX object on x/y-axis charts. (The scaleV object is the radar chart’s scaleY equivalent.) Named the key scale, it wraps around the chart on a circular axis and generally displays variables/factors as its scale values. Refer to the Radar Charts Tutorial for more information.

AttributeTypeInfo

aspect

String

On a radar chart, the “aspect” attribute allows you to change the chart’s shape from star/spider (default) to circular.

'star' (default) | 'circle'

format

String

Allows you to set the format for your scale-k values. You can use a combination of text and tokens (%v represents the scale values), e.g., “%v°” or “Variable %v”.

'Value: %v'

guide

Object

Used to style the lines and backgrounds behind your plotted data.

{...}

item

Object

Used to style your scale labels.

{...}

labels

Array

Allows you to set custom labels for each step along scale-k.

[...]

tick

Object

Used to style your tick marks.

{...}

tooltip

Object

Used to create and style your scale tooltips.

{...}

values

Mixed

Used to set the minimum, maximum, and step scale values on scale-k. E.g., for “values”: “0:330:30”, 0 is the minimum, 330 is the maximum, and 30 is the step.

"0:100:10" | [1,3,5,7] | ...

visible

Boolean

Used to hide the k-axis.

true | false