Radar Chart
They are often useful for comparing the points of two or more different data sets.
config setup
Namespaces:
options.datasets.line
- options for all line datasetsoptions.elements.line
- options for all line elementsoptions.elements.point
- options for alloptions
- options for the whole chart
All these values, if undefined
, fallback to the scopes described in option resolution
The style of each point can be controlled with the following properties:
All these values, if undefined
, fallback first to the dataset options then to the associated options.
The style of the line can be controlled with the following properties:
The interaction with each point can be controlled with the following properties:
The radar chart supports only a single scale. The options for this scale are defined in the scales.r
property, which can be referenced from the Linear Radial Axis page.
It is common to want to apply a configuration setting to all created radar charts. The global radar chart settings are stored in Chart.overrides.radar
. Changing the global options only affects charts created after the change. Existing charts are not changed.
The data
property of a dataset for a radar chart is specified as an array of numbers. Each point in the data array corresponds to the label at the same index.