   drawOnChartArea: true
                        }
                    }
                },
                plugins: {
                    legend: {
                        position: 'top',
                        display: false
                    },
                    tooltip: {
                        mode: 'index',
                        intersect: false
                    }
                }
            }
        });


        // Prepare data for Chart.js
        const chartData = {
            labe