Chartjs-Chartjs Barchart without borders

0👍

use borderWidth: 0 in your datasets.

datasets: [
  {
    backgroundColor: 'rgba(153, 193, 72, 0.4)',
    label: 'label a',
    data: dataset_1,
    borderWidth: 0
  }, {
    backgroundColor: 'rgba(13, 39, 73, 0.4)',
    label: 'label b',
    data: dataset_2,
    borderWidth: 0
  }
]

Leave a comment