adopted-ember-addons / adopted-ember-addons/ember-cli-chart

borderRadius not working for barCharts

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
138
Forks
76
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.