Remove options.scale, in favor of options.scales.r (#8393)

Remove options.scale, in favor of options.scales.r
This commit is contained in:
Jukka Kurkela 2021-02-06 23:19:21 +02:00 committed by GitHub
parent 6737cb0de6
commit ffe4ab14dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
105 changed files with 1718 additions and 1403 deletions

View File

@ -65,9 +65,11 @@ let chart = new Chart(ctx, {
labels: ['January', 'February', 'March', 'April']
},
options: {
scale: {
suggestedMin: 50,
suggestedMax: 100
scales: {
r: {
suggestedMin: 50,
suggestedMax: 100
}
}
}
});
@ -83,11 +85,13 @@ This example sets up a chart with a y axis that creates ticks at `0, 0.5, 1, 1.5
```javascript
let options = {
scale: {
max: 5,
min: 0,
ticks: {
stepSize: 0.5
scales: {
r: {
max: 5,
min: 0,
ticks: {
stepSize: 0.5
}
}
}
};

View File

@ -178,12 +178,14 @@ The options for this scale are defined in the `scale` property, which can be ref
```javascript
options = {
scale: {
angleLines: {
display: false
},
suggestedMin: 50,
suggestedMax: 100
scales: {
r: {
angleLines: {
display: false
},
suggestedMin: 50,
suggestedMax: 100
}
}
};
```

View File

@ -73,6 +73,7 @@ A number of changes were made to the configuration options passed to the `Chart`
* 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`

View File

@ -67,11 +67,13 @@
text: 'Chart.js Polar Area Chart'
},
},
scale: {
ticks: {
beginAtZero: true
},
reverse: false
scales: {
r: {
ticks: {
beginAtZero: true
},
reverse: false
}
},
animation: {
animateRotate: false,

View File

@ -85,8 +85,10 @@
tension: 0.0,
}
},
scale: {
beginAtZero: true,
scales: {
r: {
beginAtZero: true,
},
}
}
};

View File

@ -73,8 +73,10 @@
text: 'Chart.js Radar Chart'
},
},
scale: {
beginAtZero: true
scales: {
r: {
beginAtZero: true
}
}
}
};

View File

@ -56,12 +56,6 @@ function mergeScaleConfig(config, options) {
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;

View File

@ -305,13 +305,6 @@ class Chart {
}
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) => {

View File

@ -1,32 +1,34 @@
{
"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
}
}
}
}
}

View File

@ -1,33 +1,37 @@
{
"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
}
}
}
}
}
}

View File

@ -1,25 +1,29 @@
{
"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
}
}
}
}
}

View File

@ -19,8 +19,10 @@ module.exports = {
]
},
options: {
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -23,8 +23,10 @@ module.exports = {
]
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -18,8 +18,10 @@ module.exports = {
]
},
options: {
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -22,8 +22,10 @@ module.exports = {
}
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -12,8 +12,10 @@ module.exports = {
]
},
options: {
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -16,8 +16,10 @@ module.exports = {
backgroundColor: '#00ff00'
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -1,39 +1,41 @@
{
"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
}
}
}
}
}

View File

@ -1,40 +1,42 @@
{
"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
}
}
}
}
}

View File

@ -27,8 +27,10 @@ module.exports = {
borderWidth: 5,
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -26,8 +26,10 @@ module.exports = {
]
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -23,8 +23,10 @@ module.exports = {
borderWidth: 8,
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -22,8 +22,10 @@ module.exports = {
}
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -20,8 +20,10 @@ module.exports = {
borderWidth: 4,
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -19,8 +19,10 @@ module.exports = {
borderWidth: 4,
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -25,8 +25,10 @@ module.exports = {
borderWidth: 8
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -25,8 +25,10 @@ module.exports = {
borderWidth: 8
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -24,8 +24,10 @@ module.exports = {
borderWidth: 8
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -24,8 +24,10 @@ module.exports = {
borderWidth: 8
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -18,8 +18,10 @@ module.exports = {
borderWidth: 8
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -18,8 +18,10 @@ module.exports = {
borderWidth: 8
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -25,8 +25,10 @@ module.exports = {
borderColor: '#888',
}
},
scale: {
display: false,
scales: {
r: {
display: false
}
}
}
},

View File

@ -25,8 +25,10 @@ module.exports = {
]
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -21,8 +21,10 @@ module.exports = {
borderColor: '#888',
}
},
scale: {
display: false,
scales: {
r: {
display: false
}
}
}
},

View File

@ -20,8 +20,10 @@ module.exports = {
}
}
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
},

View File

@ -18,8 +18,10 @@ module.exports = {
borderColor: '#888',
}
},
scale: {
display: false,
scales: {
r: {
display: false
}
}
}
},

View File

@ -18,8 +18,10 @@ module.exports = {
borderWidth: 4
}
},
scale: {
display: false,
scales: {
r: {
display: false
}
}
}
},

View File

@ -36,9 +36,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15,
scales: {
r: {
display: false,
min: -15,
},
},
plugins: {
legend: false,

View File

@ -25,9 +25,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
},
plugins: {
legend: false,

View File

@ -44,9 +44,11 @@ module.exports = {
layout: {
padding: 32
},
scale: {
display: false,
beginAtZero: true
scales: {
r: {
display: false,
beginAtZero: true
}
}
}
},

View File

@ -35,9 +35,11 @@ module.exports = {
layout: {
padding: 32
},
scale: {
display: false,
beginAtZero: true
scales: {
r: {
display: false,
beginAtZero: true
}
}
}
},

View File

@ -38,9 +38,11 @@ module.exports = {
radius: 16
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -26,9 +26,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -30,9 +30,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -27,10 +27,13 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},
options: {

View File

@ -36,10 +36,13 @@ module.exports = {
layout: {
padding: 32
},
scale: {
display: false,
min: -1
scales: {
r: {
display: false,
min: -1
}
}
}
},
options: {

View File

@ -32,10 +32,13 @@ module.exports = {
layout: {
padding: 32
},
scale: {
display: false,
min: -1
scales: {
r: {
display: false,
min: -1
}
}
}
},
options: {

View File

@ -44,9 +44,11 @@ module.exports = {
layout: {
padding: 32
},
scale: {
display: false,
beginAtZero: true
scales: {
r: {
display: false,
beginAtZero: true
}
}
}
},

View File

@ -35,9 +35,11 @@ module.exports = {
layout: {
padding: 32
},
scale: {
display: false,
beginAtZero: true
scales: {
r: {
display: false,
beginAtZero: true
}
}
}
},

View File

@ -36,10 +36,13 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},
options: {

View File

@ -27,10 +27,13 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},
options: {

View File

@ -29,10 +29,13 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},
options: {

View File

@ -27,9 +27,11 @@ module.exports = {
}
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
},
plugins: {
legend: false,

View File

@ -23,9 +23,11 @@ module.exports = {
fill: true
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
},
plugins: {
legend: false,

View File

@ -1,91 +1,97 @@
{
"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
}
}
}

View File

@ -39,9 +39,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -37,9 +37,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -25,9 +25,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -40,9 +40,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -38,9 +38,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -26,9 +26,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -31,9 +31,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -37,9 +37,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -27,9 +27,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -43,9 +43,11 @@ module.exports = {
radius: 10
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -41,9 +41,11 @@ module.exports = {
radius: 10,
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -27,9 +27,11 @@ module.exports = {
radius: 10,
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -30,9 +30,11 @@ module.exports = {
],
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -36,9 +36,11 @@ module.exports = {
},
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -26,9 +26,11 @@ module.exports = {
radius: 3,
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -32,9 +32,11 @@ module.exports = {
],
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -38,9 +38,11 @@ module.exports = {
radius: 10,
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -28,9 +28,11 @@ module.exports = {
rotation: 0,
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
}
}
},

View File

@ -31,9 +31,11 @@ module.exports = {
fill: true
}
},
scale: {
display: false,
min: -15
scales: {
r: {
display: false,
min: -15
}
},
plugins: {
legend: false,

View File

@ -1,51 +1,58 @@
{
"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
}
}
}

View File

@ -1,48 +1,55 @@
{
"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
}
}
}

View File

@ -1,48 +1,55 @@
{
"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
}
}
}

View File

@ -1,51 +1,58 @@
{
"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
}
}
}

View File

@ -1,48 +1,55 @@
{
"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
}
}
}

View File

@ -1,49 +1,56 @@
{
"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
}
}
}

View File

@ -1,49 +1,56 @@
{
"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
}
}
}

View File

@ -1,48 +1,55 @@
{
"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
}
}
}

View File

@ -1,51 +1,58 @@
{
"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
}
}
}

View File

@ -1,48 +1,55 @@
{
"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
}
}
}

View File

@ -1,47 +1,54 @@
{
"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
}
}
}

View File

@ -1,57 +1,65 @@
{
"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
}
}
}

View File

@ -23,8 +23,10 @@ module.exports = {
title: false,
tooltip: false
},
scale: {
display: false
scales: {
r: {
display: false
}
}
}
}

View File

@ -1,56 +1,64 @@
{
"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
}
}
}

View File

@ -1,55 +1,63 @@
{
"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
}
}
}

View File

@ -1,56 +1,64 @@
{
"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
}
}
}

View File

@ -1,42 +1,46 @@
{
"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
}
}
}

View File

@ -1,26 +1,28 @@
{
"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
}
}
}
}
}
}

View File

@ -6,19 +6,21 @@ module.exports = {
},
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
}
}
}
}

View File

@ -6,23 +6,25 @@ module.exports = {
},
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
}
}
}
}

View File

@ -1,31 +1,33 @@
{
"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
}
}
}
}
}
}

View File

@ -1,32 +1,34 @@
{
"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
}
}
}
}
}
}

View File

@ -1,26 +1,28 @@
{
"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
}
}
}
}
}
}

View File

@ -1,37 +1,41 @@
{
"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
}
}
}
}

View File

@ -6,25 +6,27 @@ module.exports = {
},
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
}
}
}
}

View File

@ -1,38 +1,42 @@
{
"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
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More