for Chart.js
        const labels = price_chart.map(item => new Date(item.date));
        const closePrices = price_chart.map(item => item.close);

        // Add cone data points
        const lastDate = new Date(price_chart[price_chart.length - 1].date);
        const coneDate = new Date(lastDate.setMonth(lastDate.getMonth() + 6));
        labels.push(coneDate);

        const ctx = document.getElementById('priceChart').getContext('2d');
        new Chart(ctx, {
            type: 'line',
            data: