How to disable points on a line graph?
I have tried changing radius & pointRaidius to 0 but to no avail. I also removed point from the options object completely and it didn't change anything. After searching I couldn't find any other options to try and hide them. Apologies if this is an idiotic question, I'd appreciate it if there's documentation I missed that someone could point me to.
options = {radius: 0}
My output:

Worked for me the options = {radius: 0}.
@manhncse02926 how did you remove the gridline from the y axis?
Found it:
return (
<Line
data={chartData}
options={{
radius: 0,
responsive: true,
scales: {
x: {
grid: {
display: false,
},
},
y: {
grid: {
display: false,
},
},
},
plugins: {
legend: {
align: "end",
},
},
}}
/>
)
In case anyone one comes across this using TypeScript, this will throw an error. Use
options = {
elements: {
point: {
radius: 0,
}
}
}