Skip to content

borderRadius not working for barCharts #220

@heshamnimri

Description

@heshamnimri

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,
        },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions