function showActivityPlot(){
    syncAllChanges()

    w2ui.main_layout.content('main', '<div style="width:100%;height:100%,position: relative" ><canvas id="chart"></canvas></div>');
    var chart = document.getElementById('chart');
    data = getActivity(case_data.timeline)

    var myChart = new Chart(chart, {
        type: 'bar',
        data: {
            labels: timeseries_labels,
            datasets: [{
                label: 'Activity Distribution (Daytime)',
                data: data,
                borderWidth: 1
            }]
        },
        options: {
            responsive: true,
            scales: {
                yAxes: [{
                    ticks: {
                        beginAtZero:true
                    }
                }]
            }
        }
    })
}
* Loads the activity plot into main