labels: ['January', 'February', 'March', 'April']
},
options: {
- scale: {
- suggestedMin: 50,
- suggestedMax: 100
+ scales: {
+ r: {
+ suggestedMin: 50,
+ suggestedMax: 100
+ }
}
}
});
```javascript
let options = {
- scale: {
- max: 5,
- min: 0,
- ticks: {
- stepSize: 0.5
+ scales: {
+ r: {
+ max: 5,
+ min: 0,
+ ticks: {
+ stepSize: 0.5
+ }
}
}
};
```javascript
options = {
- scale: {
- angleLines: {
- display: false
- },
- suggestedMin: 50,
- suggestedMax: 100
+ scales: {
+ r: {
+ angleLines: {
+ display: false
+ },
+ suggestedMin: 50,
+ suggestedMax: 100
+ }
}
};
```
* Polar area `startAngle` option is now consistent with `Radar`, 0 is at top and value is in degrees. Default is changed from `-½π` to `0`.
* Doughnut `rotation` option is now in degrees and 0 is at top. Default is changed from `-½π` to `0`.
* Doughnut `circumference` option is now in degrees. Default is changed from `2Ï€` to `360`.
+* `scale` option was removed in favor of `options.scales.r` (or any other scale id, with `axis: 'r'`)
* `scales.[x/y]Axes` arrays were removed. Scales are now configured directly to `options.scales` object with the object key being the scale Id.
* `scales.[x/y]Axes.barPercentage` was moved to dataset option `barPercentage`
* `scales.[x/y]Axes.barThickness` was moved to dataset option `barThickness`
text: 'Chart.js Polar Area Chart'
},
},
- scale: {
- ticks: {
- beginAtZero: true
- },
- reverse: false
+ scales: {
+ r: {
+ ticks: {
+ beginAtZero: true
+ },
+ reverse: false
+ }
},
animation: {
animateRotate: false,
tension: 0.0,
}
},
- scale: {
- beginAtZero: true,
+ scales: {
+ r: {
+ beginAtZero: true,
+ },
}
}
};
text: 'Chart.js Radar Chart'
},
},
- scale: {
- beginAtZero: true
+ scales: {
+ r: {
+ beginAtZero: true
+ }
}
}
};
scales[id] = mergeIf(Object.create(null), [{axis}, scaleConf, defaultScaleOptions[axis], defaultScaleOptions[defaultId]]);
});
- // Backward compatibility
- if (options.scale) {
- scales[options.scale.id || 'r'] = mergeIf(Object.create(null), [{axis: 'r'}, options.scale, chartDefaults.scales.r]);
- firstIDs.r = firstIDs.r || options.scale.id || 'r';
- }
-
// Then merge dataset defaults to scale configs
config.data.datasets.forEach(dataset => {
const type = dataset.type || config.type;
}
scale.init(scaleOptions, options);
-
- // TODO(SB): I think we should be able to remove this custom case (options.scale)
- // and consider it as a regular scale part of the "scales"" map only! This would
- // make the logic easier and remove some useless? custom code.
- if (item.isDefault) {
- me.scale = scale;
- }
});
// clear up discarded scales
each(updated, (hasUpdated, id) => {
{
- "config": {
- "type": "polarArea",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "data": [11, 16, 21, 7, 10],
- "backgroundColor": [
- "rgba(255, 99, 132, 0.8)",
- "rgba(54, 162, 235, 0.8)",
- "rgba(255, 206, 86, 0.8)",
- "rgba(75, 192, 192, 0.8)",
- "rgba(153, 102, 255, 0.8)",
- "rgba(255, 159, 64, 0.8)"
- ]
- }]
- },
- "options": {
- "elements": {
- "arc": {
- "angle": [
- 60.5387, 100.6457, 60.5387, 123.5641, 14.7021
- ]
- }
- },
- "responsive": false,
- "scale": {
- "display": false
- }
+ "config": {
+ "type": "polarArea",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "data": [11, 16, 21, 7, 10],
+ "backgroundColor": [
+ "rgba(255, 99, 132, 0.8)",
+ "rgba(54, 162, 235, 0.8)",
+ "rgba(255, 206, 86, 0.8)",
+ "rgba(75, 192, 192, 0.8)",
+ "rgba(153, 102, 255, 0.8)",
+ "rgba(255, 159, 64, 0.8)"
+ ]
}
+ ]
+ },
+ "options": {
+ "elements": {
+ "arc": {
+ "angle": [60.5387, 100.6457, 60.5387, 123.5641, 14.7021]
+ }
+ },
+ "responsive": false,
+ "scales": {
+ "r": {
+ "display": false
+ }
+ }
}
+ }
}
{
- "threshold": 0.05,
- "config": {
- "type": "polarArea",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "data": [11, 16, 21, 7, 10],
- "backgroundColor": [
- "rgba(255, 99, 132, 0.8)",
- "rgba(54, 162, 235, 0.8)",
- "rgba(255, 206, 86, 0.8)",
- "rgba(75, 192, 192, 0.8)",
- "rgba(153, 102, 255, 0.8)",
- "rgba(255, 159, 64, 0.8)"
- ]
- }]
- },
- "options": {
- "responsive": false,
- "scale": {
- "display": true,
- "angleLines": {
- "display": true,
- "color": "#000"
- },
- "ticks": {
- "display": false
- }
- }
+ "threshold": 0.05,
+ "config": {
+ "type": "polarArea",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "data": [11, 16, 21, 7, 10],
+ "backgroundColor": [
+ "rgba(255, 99, 132, 0.8)",
+ "rgba(54, 162, 235, 0.8)",
+ "rgba(255, 206, 86, 0.8)",
+ "rgba(75, 192, 192, 0.8)",
+ "rgba(153, 102, 255, 0.8)",
+ "rgba(255, 159, 64, 0.8)"
+ ]
}
+ ]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "display": true,
+ "angleLines": {
+ "display": true,
+ "color": "#000"
+ },
+ "ticks": {
+ "display": false
+ }
+ }
+ }
}
+ }
}
{
- "config": {
- "type": "polarArea",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "data": [11, 16, 21, 7, 10],
- "backgroundColor": [
- "rgba(255, 99, 132, 0.8)",
- "rgba(54, 162, 235, 0.8)",
- "rgba(255, 206, 86, 0.8)",
- "rgba(75, 192, 192, 0.8)",
- "rgba(153, 102, 255, 0.8)",
- "rgba(255, 159, 64, 0.8)"
- ]
- }]
- },
- "options": {
- "responsive": false,
- "scale": {
- "display": false
- }
+ "config": {
+ "type": "polarArea",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "data": [11, 16, 21, 7, 10],
+ "backgroundColor": [
+ "rgba(255, 99, 132, 0.8)",
+ "rgba(54, 162, 235, 0.8)",
+ "rgba(255, 206, 86, 0.8)",
+ "rgba(75, 192, 192, 0.8)",
+ "rgba(153, 102, 255, 0.8)",
+ "rgba(255, 159, 64, 0.8)"
+ ]
}
+ ]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "display": false
+ }
+ }
}
+ }
}
]
},
options: {
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
]
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
]
},
options: {
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
}
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
]
},
options: {
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
backgroundColor: '#00ff00'
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
{
- "config": {
- "type": "polarArea",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "data": [11, 16, 21, 1, 10],
- "backgroundColor": [
- "rgba(255, 99, 132, 0.8)",
- "rgba(54, 162, 235, 0.8)",
- "rgba(255, 206, 86, 0.8)",
- "rgba(75, 192, 192, 0.8)",
- "rgba(153, 102, 255, 0.8)"
- ],
- "borderWidth": 20,
- "borderColor": [
- "rgb(255, 99, 132)",
- "rgb(54, 162, 235)",
- "rgb(255, 206, 86)",
- "rgb(75, 192, 192)",
- "rgb(153, 102, 255)"
- ]
- }]
- },
- "options": {
- "elements": {
- "arc": {
- "angle": [
- 2.1658, 10.8404, 21.6922, 108.4323, 216.8588
- ]
- }
- },
- "responsive": false,
- "scale": {
- "display": false
- }
+ "config": {
+ "type": "polarArea",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "data": [11, 16, 21, 1, 10],
+ "backgroundColor": [
+ "rgba(255, 99, 132, 0.8)",
+ "rgba(54, 162, 235, 0.8)",
+ "rgba(255, 206, 86, 0.8)",
+ "rgba(75, 192, 192, 0.8)",
+ "rgba(153, 102, 255, 0.8)"
+ ],
+ "borderWidth": 20,
+ "borderColor": [
+ "rgb(255, 99, 132)",
+ "rgb(54, 162, 235)",
+ "rgb(255, 206, 86)",
+ "rgb(75, 192, 192)",
+ "rgb(153, 102, 255)"
+ ]
}
+ ]
+ },
+ "options": {
+ "elements": {
+ "arc": {
+ "angle": [2.1658, 10.8404, 21.6922, 108.4323, 216.8588]
+ }
+ },
+ "responsive": false,
+ "scales": {
+ "r": {
+ "display": false
+ }
+ }
}
+ }
}
{
- "config": {
- "type": "polarArea",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "data": [11, 16, 21, 1, 10],
- "backgroundColor": [
- "rgba(255, 99, 132, 0.8)",
- "rgba(54, 162, 235, 0.8)",
- "rgba(255, 206, 86, 0.8)",
- "rgba(75, 192, 192, 0.8)",
- "rgba(153, 102, 255, 0.8)"
- ],
- "borderWidth": 20,
- "borderColor": [
- "rgb(255, 99, 132)",
- "rgb(54, 162, 235)",
- "rgb(255, 206, 86)",
- "rgb(75, 192, 192)",
- "rgb(153, 102, 255)"
- ],
- "borderAlign": "inner"
- }]
- },
- "options": {
- "elements": {
- "arc": {
- "angle": [
- 2.1658, 10.8404, 21.6922, 108.4323, 216.8588
- ]
- }
- },
- "responsive": false,
- "scale": {
- "display": false
- }
+ "config": {
+ "type": "polarArea",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "data": [11, 16, 21, 1, 10],
+ "backgroundColor": [
+ "rgba(255, 99, 132, 0.8)",
+ "rgba(54, 162, 235, 0.8)",
+ "rgba(255, 206, 86, 0.8)",
+ "rgba(75, 192, 192, 0.8)",
+ "rgba(153, 102, 255, 0.8)"
+ ],
+ "borderWidth": 20,
+ "borderColor": [
+ "rgb(255, 99, 132)",
+ "rgb(54, 162, 235)",
+ "rgb(255, 206, 86)",
+ "rgb(75, 192, 192)",
+ "rgb(153, 102, 255)"
+ ],
+ "borderAlign": "inner"
}
+ ]
+ },
+ "options": {
+ "elements": {
+ "arc": {
+ "angle": [2.1658, 10.8404, 21.6922, 108.4323, 216.8588]
+ }
+ },
+ "responsive": false,
+ "scales": {
+ "r": {
+ "display": false
+ }
+ }
}
+ }
}
borderWidth: 5,
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
]
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8,
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
}
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 4,
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 4,
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 8
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderColor: '#888',
}
},
- scale: {
- display: false,
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
]
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderColor: '#888',
}
},
- scale: {
- display: false,
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
}
}
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderColor: '#888',
}
},
- scale: {
- display: false,
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
borderWidth: 4
}
},
- scale: {
- display: false,
+ scales: {
+ r: {
+ display: false
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15,
+ scales: {
+ r: {
+ display: false,
+ min: -15,
+ },
},
plugins: {
legend: false,
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
},
plugins: {
legend: false,
layout: {
padding: 32
},
- scale: {
- display: false,
- beginAtZero: true
+ scales: {
+ r: {
+ display: false,
+ beginAtZero: true
+ }
}
}
},
layout: {
padding: 32
},
- scale: {
- display: false,
- beginAtZero: true
+ scales: {
+ r: {
+ display: false,
+ beginAtZero: true
+ }
}
}
},
radius: 16
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
+
}
},
options: {
layout: {
padding: 32
},
- scale: {
- display: false,
- min: -1
+ scales: {
+ r: {
+ display: false,
+ min: -1
+ }
}
+
}
},
options: {
layout: {
padding: 32
},
- scale: {
- display: false,
- min: -1
+ scales: {
+ r: {
+ display: false,
+ min: -1
+ }
}
+
}
},
options: {
layout: {
padding: 32
},
- scale: {
- display: false,
- beginAtZero: true
+ scales: {
+ r: {
+ display: false,
+ beginAtZero: true
+ }
}
}
},
layout: {
padding: 32
},
- scale: {
- display: false,
- beginAtZero: true
+ scales: {
+ r: {
+ display: false,
+ beginAtZero: true
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
+
}
},
options: {
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
+
}
},
options: {
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
+
}
},
options: {
}
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
},
plugins: {
legend: false,
fill: true
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
},
plugins: {
legend: false,
{
- "config": {
- "type": "radar",
- "data": {
- "labels": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
- "datasets": [{
- "borderColor": "transparent",
- "data": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
- "pointBackgroundColor": "#00ff00",
- "pointBorderColor": "transparent",
- "pointBorderWidth": 0,
- "pointRadius": 16,
- "pointStyle": [
- "circle",
- "cross",
- "crossRot",
- "dash",
- "line",
- "rect",
- "rectRounded",
- "rectRot",
- "star",
- "triangle"
- ]
- }, {
- "borderColor": "transparent",
- "data": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
- "pointBackgroundColor": "transparent",
- "pointBorderColor": "#0000ff",
- "pointBorderWidth": 1,
- "pointRadius": 16,
- "pointStyle": [
- "circle",
- "cross",
- "crossRot",
- "dash",
- "line",
- "rect",
- "rectRounded",
- "rectRot",
- "star",
- "triangle"
- ]
- }, {
- "borderColor": "transparent",
- "data": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- "pointBackgroundColor": "#00ff00",
- "pointBorderColor": "#0000ff",
- "pointBorderWidth": 1,
- "pointRadius": 16,
- "pointStyle": [
- "circle",
- "cross",
- "crossRot",
- "dash",
- "line",
- "rect",
- "rectRounded",
- "rectRot",
- "star",
- "triangle"
- ]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
+ "datasets": [
+ {
+ "borderColor": "transparent",
+ "data": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
+ "pointBackgroundColor": "#00ff00",
+ "pointBorderColor": "transparent",
+ "pointBorderWidth": 0,
+ "pointRadius": 16,
+ "pointStyle": [
+ "circle",
+ "cross",
+ "crossRot",
+ "dash",
+ "line",
+ "rect",
+ "rectRounded",
+ "rectRot",
+ "star",
+ "triangle"
+ ]
},
- "options": {
- "responsive": false,
- "scale": {
- "display": false,
- "min": 0,
- "max": 3
- },
- "elements": {
- "line": {
- "fill": false
- }
- },
- "layout": {
- "padding": {
- "left": 24,
- "right": 24
- }
- }
+ {
+ "borderColor": "transparent",
+ "data": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
+ "pointBackgroundColor": "transparent",
+ "pointBorderColor": "#0000ff",
+ "pointBorderWidth": 1,
+ "pointRadius": 16,
+ "pointStyle": [
+ "circle",
+ "cross",
+ "crossRot",
+ "dash",
+ "line",
+ "rect",
+ "rectRounded",
+ "rectRot",
+ "star",
+ "triangle"
+ ]
+ },
+ {
+ "borderColor": "transparent",
+ "data": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
+ "pointBackgroundColor": "#00ff00",
+ "pointBorderColor": "#0000ff",
+ "pointBorderWidth": 1,
+ "pointRadius": 16,
+ "pointStyle": [
+ "circle",
+ "cross",
+ "crossRot",
+ "dash",
+ "line",
+ "rect",
+ "rectRounded",
+ "rectRot",
+ "star",
+ "triangle"
+ ]
}
+ ]
},
"options": {
- "canvas": {
- "height": 512,
- "width": 512
+ "responsive": false,
+ "scales": {
+ "r": {
+ "display": false,
+ "min": 0,
+ "max": 3
+ }
+ },
+ "elements": {
+ "line": {
+ "fill": false
}
+ },
+ "layout": {
+ "padding": {
+ "left": 24,
+ "right": 24
+ }
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 512,
+ "width": 512
}
+ }
}
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10,
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10,
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
],
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
},
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 3,
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
],
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
radius: 10,
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
rotation: 0,
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
}
}
},
fill: true
}
},
- scale: {
- display: false,
- min: -15
+ scales: {
+ r: {
+ display: false,
+ min: -15
+ }
},
plugins: {
legend: false,
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [5.5, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [8, 7, 6.5, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false,
- "gridLines": {
- "circular": true
- }
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "end"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [5.5, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [8, 7, 6.5, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false,
+ "gridLines": {
+ "circular": true
+ }
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "end"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [5.5, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [8, 7, 6.5, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": true,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "end"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [5.5, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [8, 7, 6.5, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": true,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "end"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [5.5, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [8, 7, 6.5, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "end"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [5.5, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [8, 7, 6.5, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "end"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 4, 2, 1, -1, 1, 2]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [4, 2, null, 3, 2.5, null, -2, 1.5, 3]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [3.5, 2, 1, 2.5, -2, 3, -1, null, null]
- }, {
- "backgroundColor": "rgba(128, 0, 128, 0.25)",
- "data": [5, 6, 5, -2, -4, -3, 4, 2, 4.5]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 4, 2, 1, -1, 1, 2]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false,
- "gridLines": {
- "circular": true
- }
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "origin"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [4, 2, null, 3, 2.5, null, -2, 1.5, 3]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [3.5, 2, 1, 2.5, -2, 3, -1, null, null]
+ },
+ {
+ "backgroundColor": "rgba(128, 0, 128, 0.25)",
+ "data": [5, 6, 5, -2, -4, -3, 4, 2, 4.5]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false,
+ "gridLines": {
+ "circular": true
+ }
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "origin"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [6, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 64, 192, 0.25)",
- "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": true,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "origin"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [6, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 64, 192, 0.25)",
+ "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": true,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "origin"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 4, 2, 1, -1, 1, 2]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [4, 2, null, 3, 2.5, null, -2, 1.5, 3]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [3.5, 2, 1, 2.5, -2, 3, -1, null, null]
- }, {
- "backgroundColor": "rgba(128, 0, 128, 0.25)",
- "data": [5, 6, 5, -2, -4, -3, 4, 2, 4.5]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 4, 2, 1, -1, 1, 2]
},
- "options": {
- "responsive": false,
- "spanGaps": true,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "tension": 0.5,
- "fill": "origin"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [4, 2, null, 3, 2.5, null, -2, 1.5, 3]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [3.5, 2, 1, 2.5, -2, 3, -1, null, null]
+ },
+ {
+ "backgroundColor": "rgba(128, 0, 128, 0.25)",
+ "data": [5, 6, 5, -2, -4, -3, 4, 2, 4.5]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": true,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "tension": 0.5,
+ "fill": "origin"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 4, 2, 1, -1, 1, 2]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [4, 2, null, 3, 2.5, null, -2, 1.5, 3]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [3.5, 2, 1, 2.5, -2, 3, -1, null, null]
- }, {
- "backgroundColor": "rgba(128, 0, 128, 0.25)",
- "data": [5, 6, 5, -2, -4, -3, 4, 2, 4.5]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 4, 2, 1, -1, 1, 2]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "tension": 0.5,
- "fill": "origin"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [4, 2, null, 3, 2.5, null, -2, 1.5, 3]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [3.5, 2, 1, 2.5, -2, 3, -1, null, null]
+ },
+ {
+ "backgroundColor": "rgba(128, 0, 128, 0.25)",
+ "data": [5, 6, 5, -2, -4, -3, 4, 2, 4.5]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "tension": 0.5,
+ "fill": "origin"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 192, 0, 0.25)",
- "data": [6, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(192, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 64, 192, 0.25)",
- "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "origin"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 192, 0, 0.25)",
+ "data": [6, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(192, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 64, 192, 0.25)",
+ "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "origin"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [6, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false,
- "gridLines": {
- "circular": true
- }
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "start"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [6, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false,
+ "gridLines": {
+ "circular": true
+ }
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "start"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [6, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": true,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "start"
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [6, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": true,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "start"
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [6, 2, null, 4, 5, null, null, 2, 1]
- }, {
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [7, 3, 4, 5, 6, 1, 4, null, null]
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [null, null, 2, 3, 4, -4, -2, 1, 0]
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "plugins": {
- "legend": false,
- "title": false
- },
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": "start"
- }
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [6, 2, null, 4, 5, null, null, 2, 1]
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [7, 3, 4, 5, 6, 1, 4, null, null]
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [8, 7, 6, -6, -4, -6, 4, 5, 8]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "plugins": {
+ "legend": false,
+ "title": false
+ },
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": "start"
+ }
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
- "fill": 1
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [1, 0, null, 1, 0, null, -1, 0, 1],
- "fill": "+1"
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [0, 2, 0, -2, 0, 2, 0],
- "fill": 3
- }, {
- "backgroundColor": "rgba(255, 0, 255, 0.25)",
- "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
- "fill": "-2"
- }, {
- "backgroundColor": "rgba(255, 255, 0, 0.25)",
- "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
- "fill": "-1"
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
+ "fill": 1
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "black",
- "borderWidth": 5,
- "tension": 0
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [1, 0, null, 1, 0, null, -1, 0, 1],
+ "fill": "+1"
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [0, 2, 0, -2, 0, 2, 0],
+ "fill": 3
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 255, 0.25)",
+ "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
+ "fill": "-2"
+ },
+ {
+ "backgroundColor": "rgba(255, 255, 0, 0.25)",
+ "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
+ "fill": "-1"
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "black",
+ "borderWidth": 5,
+ "tension": 0
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
title: false,
tooltip: false
},
- scale: {
- display: false
+ scales: {
+ r: {
+ display: false
+ }
}
}
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
- "fill": 1
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [1, 0, null, 1, 0, null, -1, 0, 1],
- "fill": "+1"
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [0, 2, 0, -2, 0, 2, 0],
- "fill": 3
- }, {
- "backgroundColor": "rgba(255, 0, 255, 0.25)",
- "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
- "fill": "-2"
- }, {
- "backgroundColor": "rgba(255, 255, 0, 0.25)",
- "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
- "fill": "-1"
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
+ "fill": 1
},
- "options": {
- "responsive": false,
- "spanGaps": true,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "tension": 0
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [1, 0, null, 1, 0, null, -1, 0, 1],
+ "fill": "+1"
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [0, 2, 0, -2, 0, 2, 0],
+ "fill": 3
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 255, 0.25)",
+ "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
+ "fill": "-2"
+ },
+ {
+ "backgroundColor": "rgba(255, 255, 0, 0.25)",
+ "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
+ "fill": "-1"
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": true,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "tension": 0
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
- "fill": 1
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [1, 0, null, 1, 0, null, -1, 0, 1],
- "fill": "+1"
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [0, 2, 0, -2, 0, 2, 0],
- "fill": 3
- }, {
- "backgroundColor": "rgba(255, 0, 255, 0.25)",
- "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
- "fill": "-2"
- }, {
- "backgroundColor": "rgba(255, 255, 0, 0.25)",
- "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
- "fill": "-1"
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
+ "fill": 1
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "plugins": {
- "legend": false,
- "title": false
- },
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "tension": 0.5
- }
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [1, 0, null, 1, 0, null, -1, 0, 1],
+ "fill": "+1"
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [0, 2, 0, -2, 0, 2, 0],
+ "fill": 3
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 255, 0.25)",
+ "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
+ "fill": "-2"
+ },
+ {
+ "backgroundColor": "rgba(255, 255, 0, 0.25)",
+ "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
+ "fill": "-1"
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "plugins": {
+ "legend": false,
+ "title": false
+ },
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "tension": 0.5
+ }
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(255, 0, 0, 0.25)",
- "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
- "fill": 1
- }, {
- "backgroundColor": "rgba(0, 255, 0, 0.25)",
- "data": [1, 0, null, 1, 0, null, -1, 0, 1],
- "fill": "+1"
- }, {
- "backgroundColor": "rgba(0, 0, 255, 0.25)",
- "data": [0, 2, 0, -2, 0, 2, 0],
- "fill": 3
- }, {
- "backgroundColor": "rgba(255, 0, 255, 0.25)",
- "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
- "fill": "-2"
- }, {
- "backgroundColor": "rgba(255, 255, 0, 0.25)",
- "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
- "fill": "-1"
- }]
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(255, 0, 0, 0.25)",
+ "data": [null, null, 0, -1, 0, 1, 0, -1, 0],
+ "fill": 1
},
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "tension": 0
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ {
+ "backgroundColor": "rgba(0, 255, 0, 0.25)",
+ "data": [1, 0, null, 1, 0, null, -1, 0, 1],
+ "fill": "+1"
+ },
+ {
+ "backgroundColor": "rgba(0, 0, 255, 0.25)",
+ "data": [0, 2, 0, -2, 0, 2, 0],
+ "fill": 3
+ },
+ {
+ "backgroundColor": "rgba(255, 0, 255, 0.25)",
+ "data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
+ "fill": "-2"
+ },
+ {
+ "backgroundColor": "rgba(255, 255, 0, 0.25)",
+ "data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
+ "fill": "-1"
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false
}
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "tension": 0
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
- "datasets": [{
- "backgroundColor": "rgba(0, 0, 192, 0.25)",
- "data": [0, -4, 2, 4, 2, 1, -1, 1, 2]
- }]
- },
- "options": {
- "responsive": false,
- "spanGaps": false,
- "scale": {
- "display": false,
- "gridLines": {
- "circular": true
- }
- },
- "elements": {
- "point": {
- "radius": 0
- },
- "line": {
- "borderColor": "transparent",
- "fill": { "value": 3 }
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(0, 0, 192, 0.25)",
+ "data": [0, -4, 2, 4, 2, 1, -1, 1, 2]
}
+ ]
},
"options": {
- "canvas": {
- "height": 256,
- "width": 256
+ "responsive": false,
+ "spanGaps": false,
+ "scales": {
+ "r": {
+ "display": false,
+ "gridLines": {
+ "circular": true
+ }
+ }
+ },
+ "elements": {
+ "point": {
+ "radius": 0
+ },
+ "line": {
+ "borderColor": "transparent",
+ "fill": { "value": 3 }
}
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false
+ }
+ }
+ },
+ "options": {
+ "canvas": {
+ "height": 256,
+ "width": 256
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "color": "rgb(0, 0, 0)",
- "lineWidth": 1
- },
- "angleLines": {
- "display": false
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "color": "rgb(0, 0, 0)",
+ "lineWidth": 1
+ },
+ "angleLines": {
+ "display": false
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
+ }
}
+ }
}
+ }
}
},
options: {
responsive: false,
- scale: {
- gridLines: {
- display: true,
- },
- angleLines: {
- color: ['red', 'green'],
- lineWidth: [1, 5]
- },
- pointLabels: {
- display: false
- },
- ticks: {
- display: false
+ scales: {
+ r: {
+ gridLines: {
+ display: true,
+ },
+ angleLines: {
+ color: ['red', 'green'],
+ lineWidth: [1, 5]
+ },
+ pointLabels: {
+ display: false
+ },
+ ticks: {
+ display: false
+ }
}
}
}
},
options: {
responsive: false,
- scale: {
- gridLines: {
- display: true,
- },
- angleLines: {
- color: function(context) {
- return context.index % 2 === 0 ? 'red' : 'green';
+ scales: {
+ r: {
+ gridLines: {
+ display: true,
},
- lineWidth: function(context) {
- return context.index % 2 === 0 ? 1 : 5;
+ angleLines: {
+ color: function(context) {
+ return context.index % 2 === 0 ? 'red' : 'green';
+ },
+ lineWidth: function(context) {
+ return context.index % 2 === 0 ? 1 : 5;
+ },
},
- },
- pointLabels: {
- display: false
- },
- ticks: {
- display: false
+ pointLabels: {
+ display: false
+ },
+ ticks: {
+ display: false
+ }
}
}
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "color": "rgba(0, 0, 255, 0.5)",
- "lineWidth": 1,
- "borderDash": [4, 2],
- "borderDashOffset": 2
- },
- "angleLines": {
- "color": "rgba(0, 0, 255, 0.5)",
- "lineWidth": 1,
- "borderDash": [4, 2],
- "borderDashOffset": 2
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "color": "rgba(0, 0, 255, 0.5)",
+ "lineWidth": 1,
+ "borderDash": [4, 2],
+ "borderDashOffset": 2
+ },
+ "angleLines": {
+ "color": "rgba(0, 0, 255, 0.5)",
+ "lineWidth": 1,
+ "borderDash": [4, 2],
+ "borderDashOffset": 2
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
+ }
}
+ }
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "circular": true,
- "color": "rgba(0, 0, 255, 0.5)",
- "lineWidth": 1,
- "borderDash": [4, 2],
- "borderDashOffset": 2
- },
- "angleLines": {
- "color": "rgba(0, 0, 255, 0.5)",
- "lineWidth": 1,
- "borderDash": [4, 2],
- "borderDashOffset": 2
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "circular": true,
+ "color": "rgba(0, 0, 255, 0.5)",
+ "lineWidth": 1,
+ "borderDash": [4, 2],
+ "borderDashOffset": 2
+ },
+ "angleLines": {
+ "color": "rgba(0, 0, 255, 0.5)",
+ "lineWidth": 1,
+ "borderDash": [4, 2],
+ "borderDashOffset": 2
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
+ }
}
+ }
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "display": false
- },
- "angleLines": {
- "color": "rgb(0, 0, 0)",
- "lineWidth": 1
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "display": false
+ },
+ "angleLines": {
+ "color": "rgb(0, 0, 0)",
+ "lineWidth": 1
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
+ }
}
+ }
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "backgroundColor": "rgba(255, 0, 0, 1)",
- "data": [1,2,3,3,3]
- }]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "color": "rgba(0, 0, 0, 1)",
- "lineWidth": 1
- },
- "angleLines": {
- "color": "rgba(0, 0, 255, 1)",
- "lineWidth": 1
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false,
- "filler": true
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(255, 0, 0, 1)",
+ "data": [1, 2, 3, 3, 3]
}
+ ]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "color": "rgba(0, 0, 0, 1)",
+ "lineWidth": 1
+ },
+ "angleLines": {
+ "color": "rgba(0, 0, 255, 1)",
+ "lineWidth": 1
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
+ }
+ }
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false,
+ "filler": true
+ }
}
+ }
}
},
options: {
responsive: false,
- scale: {
- gridLines: {
- display: true,
- color: function(context) {
- return context.index % 2 === 0 ? 'red' : 'green';
+ scales: {
+ r: {
+ gridLines: {
+ display: true,
+ color: function(context) {
+ return context.index % 2 === 0 ? 'red' : 'green';
+ },
+ lineWidth: function(context) {
+ return context.index % 2 === 0 ? 1 : 5;
+ },
},
- lineWidth: function(context) {
- return context.index % 2 === 0 ? 1 : 5;
+ angleLines: {
+ color: 'rgba(255, 255, 255, 0.5)',
+ lineWidth: 2
},
- },
- angleLines: {
- color: 'rgba(255, 255, 255, 0.5)',
- lineWidth: 2
- },
- pointLabels: {
- display: false
- },
- ticks: {
- display: false
+ pointLabels: {
+ display: false
+ },
+ ticks: {
+ display: false
+ }
}
}
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"],
- "datasets": [{
- "backgroundColor": "rgba(255, 0, 0, 1)",
- "data": [1,2,3,3,3]
- }]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "color": "rgba(0, 0, 0, 1)",
- "lineWidth": 1,
- "z": 1
- },
- "angleLines": {
- "color": "rgba(0, 0, 255, 1)",
- "lineWidth": 1
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- },
- "plugins": {
- "legend": false,
- "title": false,
- "tooltip": false,
- "filler": true
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"],
+ "datasets": [
+ {
+ "backgroundColor": "rgba(255, 0, 0, 1)",
+ "data": [1, 2, 3, 3, 3]
+ }
+ ]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "color": "rgba(0, 0, 0, 1)",
+ "lineWidth": 1,
+ "z": 1
+ },
+ "angleLines": {
+ "color": "rgba(0, 0, 255, 1)",
+ "lineWidth": 1
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
}
}
+ },
+ "plugins": {
+ "legend": false,
+ "title": false,
+ "tooltip": false,
+ "filler": true
+ }
}
+ }
}
{
- "config": {
- "type": "radar",
- "data": {
- "labels": ["A", "B", "C", "D", "E"]
- },
- "options": {
- "responsive": false,
- "scale": {
- "gridLines": {
- "display": true,
- "color": [
- "rgba(0, 0, 0, 0.5)",
- "rgba(255, 255, 255, 0.5)",
- false,
- "",
- "rgba(255, 0, 0, 0.5)",
- "rgba(0, 255, 0, 0.5)",
- "rgba(0, 0, 255, 0.5)",
- "rgba(255, 255, 0, 0.5)",
- "rgba(255, 0, 255, 0.5)",
- "rgba(0, 255, 255, 0.5)"
- ],
- "lineWidth": [false, 0, 1, 2, 1, 2, 1, 2, 1, 2]
- },
- "angleLines": {
- "color": "rgba(255, 255, 255, 0.5)",
- "lineWidth": 2
- },
- "pointLabels": {
- "display": false
- },
- "ticks": {
- "display": false
- }
- }
+ "config": {
+ "type": "radar",
+ "data": {
+ "labels": ["A", "B", "C", "D", "E"]
+ },
+ "options": {
+ "responsive": false,
+ "scales": {
+ "r": {
+ "gridLines": {
+ "display": true,
+ "color": [
+ "rgba(0, 0, 0, 0.5)",
+ "rgba(255, 255, 255, 0.5)",
+ false,
+ "",
+ "rgba(255, 0, 0, 0.5)",
+ "rgba(0, 255, 0, 0.5)",
+ "rgba(0, 0, 255, 0.5)",
+ "rgba(255, 255, 0, 0.5)",
+ "rgba(255, 0, 255, 0.5)",
+ "rgba(0, 255, 255, 0.5)"
+ ],
+ "lineWidth": [false, 0, 1, 2, 1, 2, 1, 2, 1, 2]
+ },
+ "angleLines": {
+ "color": "rgba(255, 255, 255, 0.5)",
+ "lineWidth": 2
+ },
+ "pointLabels": {
+ "display": false
+ },
+ "ticks": {
+ "display": false
+ }
}
+ }
}
+ }
}
labels: ['label1', 'label2', 'label3', 'label4']
},
options: {
- scale: {id: 'test'}
+ scales: {
+ test: {
+ axis: 'r'
+ }
+ }
}
});
var chart = acquireChart({
type: 'line',
options: {
- scale: {
- id: 'foo',
- type: 'logarithmic',
- _jasmineCheckC: 'c2',
- _jasmineCheckD: 'd2'
+ scales: {
+ foo: {
+ type: 'logarithmic',
+ _jasmineCheckC: 'c2',
+ _jasmineCheckD: 'd2'
+ }
}
}
});
labels: ['label1', 'label2', 'label3', 'label4', 'label5', 'label6']
},
options: {
- scale: {
- suggestedMin: -10,
- suggestedMax: 10
+ scales: {
+ r: {
+ suggestedMin: -10,
+ suggestedMax: 10
+ }
}
}
});
labels: ['label1', 'label2', 'label3', 'label4', 'label5', 'label6']
},
options: {
- scale: {
- min: -1010,
- max: 1010
+ scales: {
+ r: {
+ min: -1010,
+ max: 1010
+ }
}
}
});
labels: ['label1', 'label2', 'label3', 'label4']
},
options: {
- scale: {
- beginAtZero: false
+ scales: {
+ r: {
+ beginAtZero: false
+ }
}
}
});
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- reverse: true
+ scales: {
+ r: {
+ reverse: true
+ }
}
}
});
}]
},
options: {
- scale: {
- pointLabels: {
- display: false
+ scales: {
+ r: {
+ pointLabels: {
+ display: false
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- ticks: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ ticks: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
}
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
}
}
},
labels: ['label1', 'label2', 'label3', 'label4', 'label5']
},
options: {
- scale: {
- pointLabels: {
- callback: function(value, index) {
- return index.toString();
+ scales: {
+ r: {
+ pointLabels: {
+ callback: function(value, index) {
+ return index.toString();
+ }
+ },
+ ticks: {
+ display: false
}
- },
- ticks: {
- display: false
}
}
}
readonly currentDevicePixelRatio: number;
readonly chartArea: ChartArea;
readonly scales: { [key: string]: Scale };
- readonly scale: Scale | undefined;
readonly attached: boolean;
data: ChartData<TType, TData, TLabel>;