- Interface: RadarControllerDatasetOptions
- Hierarchy
- Properties
- animation
- animations
- backgroundColor
- borderCapStyle
- borderColor
- borderDash
- borderDashOffset
- borderJoinStyle
- borderWidth
- capBezierPoints
- clip
- cubicInterpolationMode
- fill
- hidden
- hoverBackgroundColor
- hoverBorderCapStyle
- hoverBorderColor
- hoverBorderDash
- hoverBorderDashOffset
- hoverBorderJoinStyle
- hoverBorderWidth
- indexAxis
- label
- normalized
- order
- parsing
- pointBackgroundColor
- pointBorderColor
- pointBorderWidth
- pointHitRadius
- pointHoverBackgroundColor
- pointHoverBorderColor
- pointHoverBorderWidth
- pointHoverRadius
- pointRadius
- pointRotation
- pointStyle
- segment
- showLine
- spanGaps
- stack
- stepped
- tension
- transitions
- xAxisID
- yAxisID
Interface: RadarControllerDatasetOptions
Hierarchy
ScriptableOptions
<PointPrefixedOptions
,ScriptableContext
<"radar"
>>ScriptableOptions
<PointPrefixedHoverOptions
,ScriptableContext
<"radar"
>>ScriptableOptions
<LineOptions
,ScriptableContext
<"radar"
>>ScriptableOptions
<LineHoverOptions
,ScriptableContext
<"radar"
>>AnimationOptions
<"radar"
>↳
RadarControllerDatasetOptions
Properties
animation
• animation: false
| AnimationSpec
<"radar"
> & { onComplete?
: (event
: AnimationEvent
) => void
; onProgress?
: (event
: AnimationEvent
) => void
}
Inherited from
AnimationOptions.animation
Defined in
index.esm.d.ts:1559 (opens new window)
animations
• animations: AnimationsSpec
<"radar"
>
Inherited from
AnimationOptions.animations
Defined in
index.esm.d.ts:1569 (opens new window)
backgroundColor
• backgroundColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.backgroundColor
Defined in
index.esm.d.ts:1614 (opens new window)
borderCapStyle
• borderCapStyle: Scriptable
<CanvasLineCap
, ScriptableContext
<"radar"
>>
Line cap style. See MDN.
default
‘butt’
Inherited from
ScriptableOptions.borderCapStyle
Defined in
index.esm.d.ts:1682 (opens new window)
borderColor
• borderColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.borderColor
Defined in
index.esm.d.ts:1613 (opens new window)
borderDash
• borderDash: Scriptable
<number
[], ScriptableContext
<"radar"
>>
Line dash. See MDN.
default
[]
Inherited from
ScriptableOptions.borderDash
Defined in
index.esm.d.ts:1687 (opens new window)
borderDashOffset
• borderDashOffset: Scriptable
<number
, ScriptableContext
<"radar"
>>
Line dash offset. See MDN.
default
0.0
Inherited from
ScriptableOptions.borderDashOffset
Defined in
index.esm.d.ts:1692 (opens new window)
borderJoinStyle
• borderJoinStyle: Scriptable
<CanvasLineJoin
, ScriptableContext
<"radar"
>>
Line join style. See MDN.
default
‘miter’
Inherited from
ScriptableOptions.borderJoinStyle
Defined in
index.esm.d.ts:1697 (opens new window)
borderWidth
• borderWidth: Scriptable
<number
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.borderWidth
Defined in
index.esm.d.ts:1612 (opens new window)
capBezierPoints
• capBezierPoints: Scriptable
<boolean
, ScriptableContext
<"radar"
>>
true to keep Bézier control inside the chart, false for no restriction.
default
true
Inherited from
ScriptableOptions.capBezierPoints
Defined in
index.esm.d.ts:1702 (opens new window)
clip
• clip: number
| ChartArea
How to clip relative to chartArea. Positive value allows overflow, negative value clips that many pixels inside chartArea. 0 = clip at chartArea. Clipping can also be configured per side: clip: {left: 5, top: false, right: -2, bottom: 0}
Inherited from
Defined in
index.esm.d.ts:64 (opens new window)
cubicInterpolationMode
• cubicInterpolationMode: Scriptable
<"default"
| "monotone"
, ScriptableContext
<"radar"
>>
Interpolation mode to apply.
default
‘default’
Inherited from
ScriptableOptions.cubicInterpolationMode
Defined in
index.esm.d.ts:1707 (opens new window)
fill
• fill: Scriptable
<string
| number
| boolean
| { value
: number
} | ComplexFillTarget
, ScriptableContext
<"radar"
>>
Both line and radar charts support a fill option on the dataset object which can be used to create area between two datasets or a dataset and a boundary, i.e. the scale origin, start or end
Inherited from
ScriptableOptions.fill
Defined in
index.esm.d.ts:1721 (opens new window)
hidden
• hidden: boolean
Configures the visibility state of the dataset. Set it to true, to hide the dataset from the chart.
default
false
Inherited from
ControllerDatasetOptions.hidden
Defined in
index.esm.d.ts:82 (opens new window)
hoverBackgroundColor
• hoverBackgroundColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBackgroundColor
Defined in
index.esm.d.ts:1620 (opens new window)
hoverBorderCapStyle
• hoverBorderCapStyle: Scriptable
<CanvasLineCap
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBorderCapStyle
Defined in
index.esm.d.ts:1735 (opens new window)
hoverBorderColor
• hoverBorderColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBorderColor
Defined in
index.esm.d.ts:1619 (opens new window)
hoverBorderDash
• hoverBorderDash: Scriptable
<number
[], ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBorderDash
Defined in
index.esm.d.ts:1736 (opens new window)
hoverBorderDashOffset
• hoverBorderDashOffset: Scriptable
<number
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBorderDashOffset
Defined in
index.esm.d.ts:1737 (opens new window)
hoverBorderJoinStyle
• hoverBorderJoinStyle: Scriptable
<CanvasLineJoin
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBorderJoinStyle
Defined in
index.esm.d.ts:1738 (opens new window)
hoverBorderWidth
• hoverBorderWidth: Scriptable
<number
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.hoverBorderWidth
Defined in
index.esm.d.ts:1618 (opens new window)
indexAxis
• indexAxis: "x"
| "y"
The base axis of the chart. ‘x’ for vertical charts and ‘y’ for horizontal charts.
default
‘x’
Inherited from
ControllerDatasetOptions.indexAxis
Defined in
index.esm.d.ts:60 (opens new window)
label
• label: string
The label for the dataset which appears in the legend and tooltips.
Inherited from
ControllerDatasetOptions.label
Defined in
index.esm.d.ts:68 (opens new window)
normalized
• normalized: boolean
Chart.js is fastest if you provide data with indices that are unique, sorted, and consistent across datasets and provide the normalized: true option to let Chart.js know that you have done so.
Inherited from
ControllerDatasetOptions.normalized
Defined in
index.esm.d.ts:52 (opens new window)
order
• order: number
The drawing order of dataset. Also affects order for stacking, tooltip and legend.
Inherited from
ControllerDatasetOptions.order
Defined in
index.esm.d.ts:72 (opens new window)
parsing
• parsing: false
| { [key: string]: string
; }
How to parse the dataset. The parsing can be disabled by specifying parsing: false at chart options or dataset. If parsing is disabled, data must be sorted and in the formats the associated chart type and scales use internally.
Inherited from
ControllerDatasetOptions.parsing
Defined in
index.esm.d.ts:43 (opens new window)
pointBackgroundColor
• pointBackgroundColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
The fill color for points.
Inherited from
ScriptableOptions.pointBackgroundColor
Defined in
index.esm.d.ts:1813 (opens new window)
pointBorderColor
• pointBorderColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
The border color for points.
Inherited from
ScriptableOptions.pointBorderColor
Defined in
index.esm.d.ts:1817 (opens new window)
pointBorderWidth
• pointBorderWidth: Scriptable
<number
, ScriptableContext
<"radar"
>>
The width of the point border in pixels.
Inherited from
ScriptableOptions.pointBorderWidth
Defined in
index.esm.d.ts:1821 (opens new window)
pointHitRadius
• pointHitRadius: Scriptable
<number
, ScriptableContext
<"radar"
>>
The pixel size of the non-displayed point that reacts to mouse events.
Inherited from
ScriptableOptions.pointHitRadius
Defined in
index.esm.d.ts:1825 (opens new window)
pointHoverBackgroundColor
• pointHoverBackgroundColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
Point background color when hovered.
Inherited from
ScriptableOptions.pointHoverBackgroundColor
Defined in
index.esm.d.ts:1844 (opens new window)
pointHoverBorderColor
• pointHoverBorderColor: Scriptable
<Color
, ScriptableContext
<"radar"
>>
Point border color when hovered.
Inherited from
ScriptableOptions.pointHoverBorderColor
Defined in
index.esm.d.ts:1848 (opens new window)
pointHoverBorderWidth
• pointHoverBorderWidth: Scriptable
<number
, ScriptableContext
<"radar"
>>
Border width of point when hovered.
Inherited from
ScriptableOptions.pointHoverBorderWidth
Defined in
index.esm.d.ts:1852 (opens new window)
pointHoverRadius
• pointHoverRadius: Scriptable
<number
, ScriptableContext
<"radar"
>>
The radius of the point when hovered.
Inherited from
ScriptableOptions.pointHoverRadius
Defined in
index.esm.d.ts:1856 (opens new window)
pointRadius
• pointRadius: Scriptable
<number
, ScriptableContext
<"radar"
>>
The radius of the point shape. If set to 0, the point is not rendered.
Inherited from
ScriptableOptions.pointRadius
Defined in
index.esm.d.ts:1829 (opens new window)
pointRotation
• pointRotation: Scriptable
<number
, ScriptableContext
<"radar"
>>
The rotation of the point in degrees.
Inherited from
ScriptableOptions.pointRotation
Defined in
index.esm.d.ts:1833 (opens new window)
pointStyle
• pointStyle: Scriptable
<PointStyle
, ScriptableContext
<"radar"
>>
Style of the point.
Inherited from
ScriptableOptions.pointStyle
Defined in
index.esm.d.ts:1837 (opens new window)
segment
• segment: Scriptable
<Object
, ScriptableContext
<"radar"
>>
Inherited from
ScriptableOptions.segment
Defined in
index.esm.d.ts:1723 (opens new window)
showLine
• showLine: boolean
If false, the line is not drawn for this dataset.
Defined in
index.esm.d.ts:394 (opens new window)
spanGaps
• spanGaps: number
| boolean
If true, lines will be drawn between points with no or null data. If false, points with NaN data will create a break in the line. Can also be a number specifying the maximum gap length to span. The unit of the value depends on the scale used.
Defined in
index.esm.d.ts:389 (opens new window)
stack
• stack: string
The ID of the group to which this dataset belongs to (when stacked, each group will be a separate stack).
Inherited from
ControllerDatasetOptions.stack
Defined in
index.esm.d.ts:77 (opens new window)
stepped
• stepped: Scriptable
<boolean
| "before"
| "after"
| "middle"
, ScriptableContext
<"radar"
>>
true to show the line as a stepped line (tension will be ignored).
default
false
Inherited from
ScriptableOptions.stepped
Defined in
index.esm.d.ts:1717 (opens new window)
tension
• tension: Scriptable
<number
, ScriptableContext
<"radar"
>>
Bézier curve tension (0 for no Bézier curves).
default
0
Inherited from
ScriptableOptions.tension
Defined in
index.esm.d.ts:1712 (opens new window)
transitions
• transitions: TransitionsSpec
<"radar"
>
Inherited from
AnimationOptions.transitions
Defined in
index.esm.d.ts:1570 (opens new window)
xAxisID
• xAxisID: string
The ID of the x axis to plot this dataset on.
Defined in
index.esm.d.ts:380 (opens new window)
yAxisID
• yAxisID: string
The ID of the y axis to plot this dataset on.