Chartjs-Insert value into a ChartJS with different data label

0👍

You should omit data.labels and instead, provide the data for both datasets in point format. This is an array of objects having an x and y property each.

data: [
  { x: 10, y: 20 }, 
  { x: 15, y: 10 },
  ... 
]

Leave a comment