               },
                        legend: {
                            top: '5%',
                            left: 'center',
                            textStyle: {
                                color: isDarkMode ? '#fff' : '#333'
                            }
                        },
                        series: [{
                            name: 'Item Distribution',
                            type: 'pie',
                            radius: ['45%', '70%'],
                            