Open aayush-makwana opened 1 week ago
Can you paste your configuration here?
I am using apexchart with following configuration in my NextJS with TypeScript Project
const options: ApexOptions = {
colors: ['#5cc86f', 'rgba( 40 199 111 / 0.7)', 'rgba( 40 199 111 / 0.5)', 'rgba( 40 199 111 / 0.16)'],
stroke: { width: 0 },
legend: { show: false },
tooltip: { enabled: true, theme: 'false' },
dataLabels: { enabled: false },
labels: ['Electronic', 'Sports', 'Decor', 'Fashion'],
states: {
hover: {
filter: { type: 'none' }
},
active: {
filter: { type: 'none' }
}
},
grid: {
padding: {
top: -22,
bottom: -18
}
},
plotOptions: {
pie: {
customScale: 0.8,
expandOnClick: false,
donut: {
size: '73%',
labels: {
show: true,
name: {
offsetY: 25,
color: 'rgba( 47 43 61 / 0.7)'
},
value: {
offsetY: -15,
fontWeight: 500,
formatter: val => `${val}`,
color: 'rgba( 47 43 61 / 0.9)',
fontSize: '1.75rem'
},
total: {
show: true,
showAlways: true,
label: 'Total',
color: '#5cc86f',
fontSize: '0.9375rem'
}
}
}
}
},
responsive: [
{
breakpoint: 1536,
options: {
chart: { width: 200, height: 237 }
}
},
{
breakpoint: 900,
options: {
chart: { width: 150, height: 199 }
}
}
]
}
<ApexCharts type='donut' width={150} height={177} series={[32, 41, 41, 70]} options={options} />
Description
We are experiencing inconsistent behavior in RadialBar and Donut charts between ApexCharts versions 3.49.0 and 3.49.2. Even though we've applied identical configurations to these charts in both versions, we're seeing variations in both the rendering and the operational behavior.
Steps to Reproduce
Expected Behavior
Charts should display and function identically across versions when using the same configurations.
Actual Behavior
Charts are displaying differently between versions 3.49.0 and 3.49.2.
Screenshots
In version 3.49.0![image](https://github.com/apexcharts/apexcharts.js/assets/86557889/ecf1ebf7-eeae-4090-b575-fa49c296bf43)
In version 3.49.2![image](https://github.com/apexcharts/apexcharts.js/assets/86557889/5bfe6e17-e64c-42d0-bcba-5b3944a3a280)