Is there a way to make bar rounded on top in echarts? For ex in this example
I was able to found option roundCap for polar but unable to find anything for simple bar chart
Is there a way to make bar rounded on top in echarts? For ex in this example
I was able to found option roundCap for polar but unable to find anything for simple bar chart
options = {
xAxis: {
type: 'category',
data: ['June ’22', 'July ’22',]
},
yAxis: {
type: 'value'
},
series: [
{
data: [
{
value: 140,
itemStyle: {
color: '#80CBC4',
barBorderRadius: 5,
},
}, {
value: 250,
itemStyle: {
color: '#CE93D8',
barBorderRadius: 5,
}
}
],
type: 'bar',
barWidth: '40%'
}
]
};
Do you want to set 'border-radius'?