2๐
โ
Do this way :
new Chart(document.getElementById("so"), {
type: "radar",
data: {
labels: ["Animals", "Science", "Culture"],
datasets: [{
label: '',
data: [46, 51, 29]
}, {
label: '',
data: [0, 0, 0]
}]
},
options: {
scale: {
ticks: {
min: 0,
max: 100,
max: 100,
stepSize: 20,
beginAtZero: true
},
pointLabels: { fontSize:18 }
},
legend: {
display: false
}
} });
Source:stackexchange.com