9951 explained code solutions for 126 technologies


chart.jsHide points in line chart


new Chart('chart', {
  // ...
  data: {
      datasets: [{ data: [1, 2, 3], pointRadius: 0 }]
  }
});ctrl + c
'chart'

id of canvas element

data: [1, 2, 3]

example dataset

pointRadius: 0

setting radius to zero will hide points