API REFERENCE
categories
Radar category spoke labels (property).
Definition
| Item | Value |
|---|---|
| JavaScript property | categories |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | string[] |
| Default | undefined |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
Configuration example
// Register sy-polar-chart and create the element before configuring it.
chart.categories = [
"N",
"NE",
"E",
"SE",
"S",
"SW",
"W",
"NW"
];