adopted-ember-addons/ember-cli-chart

borderRadius not working for barCharts

Opened this issue · 0 comments

setting borderRadius in the chartOptions or the dataset does not round the bars

      bar: {
        borderRadius: 5,
        borderRadiusOnAllStackedSeries: true,
      },
      datasets: [
        {
          type: 'bar',
          label: 'Sales',
          data: this.formattedChartData.attributableSales,
          borderColor: this.chartColor,
          backgroundColor: this.chartColor,
          barPercentage: 1.1,
          borderRadius: 5,
        },