I am looking to make my donut chart items corners round please guide
const Chart = dynamic(() => import('react-apexcharts'), { ssr: false });
const series = [54, 45];
const options: ApexCharts.ApexOptions = {
chart: {
width: 380,
type: 'donut',
},
labels: ['Active Users', 'Inactive Users'],
plotOptions: {
pie: {
expandOnClick:false,
donut: {
size:'85%',
labels: {
show: true,
name: {
show: true,
fontSize: '12px',
fontWeight: '400',
color: '#6E7191'
},
value: {
show: true,
fontSize: '22px',
fontWeight: '600',
color: '#2E285C'
},
total: {
show: true,
color: '#BCC1C8',
fontWeight: 600,
}
}
}
}
},
dataLabels: {
enabled: false,
},
responsive: [{
breakpoint: 480,
options: {
chart: {
width: 200
},
legend: {
show: false
}
}
}],
legend: {
position: 'left',
offsetY: 50,
},
colors: ['#645CAA', '#BFACE0'],
title: {
text: '264',
align: 'left',
floating: false,
style: {
fontSize: '36px',
fontWeight: '500',
color: '#2E285C'
},
}
}
<Chart series={series} options={options} type="donut" />
That I have been tried but I cannot find any solution to change border radius of this chart. I have searched on google but could not find it That I am writing because stackoverflow saying its too much code write Details(alflsjdfakfjlkasdhkf jdfjkhdfkjd kdjfjkdhfkjhd jfsdjhfkdh kdfhsdkfj jdfksjhdfkj ksdjfkdjhf jkjkdhfkdsf jhdfkhsfjk jsdhjfkhdk jfhsdkjf jfksjdh fjdksjhf djfkh kjdsjkf jfhskdf )