Hi @neelsgn, the way to do this in Chart.js is a bit of a workaround - it involves adding a dummy data series that requires a cartesian (grid) axis. See Chart.js axis styling docs.
Here’s an example in Chart.js v4:
{
type: 'radar',
data: {
labels: [
'Eating',
'Drinking',
'Sleeping',
'Designing',
'Coding',
'Cycling',
'Running',
],
datasets: [
{
label: 'My First Dataset',
data: [65, 59, 90, 81, 56, 55, 40],
backgroundColor: 'rgba(255, 99, 132, 0.2)',
borderColor: 'rgb(255, 99, 132)',
},
{
label: 'My Second Dataset',
data: [28, 48, 40, 19, 96, 27, 100],
backgroundColor: 'rgba(54, 162, 235, 0.2)',
borderColor: 'rgb(54, 162, 235)',
},
{
type: 'bar',
},
],
},
options: {
scales: {
r: {
grid: {
display: false,
},
},
x: {
ticks: {
display: false,
},
grid: {
borderDash: [5, 5],
},
},
y: {
ticks: {
display: false,
},
grid: {
borderDash: [5, 5],
},
},
},
},
}
Link to chart editor