venueChart) {
                deviceRevenueChart.destroy();
            }

            // Prepare data for chart
            const labels = monthlyData.map(item => item.month).reverse();
            const revenues = monthlyData.map(item => item.revenue).reverse();
            const bookings = monthlyData.map(item => item.bookings).reverse();

            deviceRevenueChart = new Chart(ctx, {
                type: 'line',
                data: {
                    labels: labels,
                    dataset