<div id="cpuDetailsLineChart" class="tw-chartDarkStyle reloadableChart"></div>
<script>
    ui.lineChartGenerator(
        document.querySelector('#cpuDetailsLineChart'),
        "{__('Avg. load')}",
        [
            [1, {$pastLoads->oneMin}],
            [5, {$pastLoads->fiveMin}],
            [15, {$pastLoads->fifteenMin}]
        ],
        ["#465FFF"],
        '1',
        '%',
        "{__('past %s minutes')}"
    );
</script>
