ElementStacks

by Fusher

HTML

<script src="http://highcharts.com/js/testing-exporting.js"></script>
<div id="container" style="height: 400px; margin-top: 1em"></div>

JavaScript

var colors = [
    '#4572A7',
    '#AA4643',
    ];
var chart = new Highcharts.Chart({

    chart: {
        renderTo: 'container'
    },
    credits: {
        enabled: false
    },
    xAxis: {
        categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
    },

    series: [{
        type: 'line',
        color: colors[0],
        data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]},
    {
        type: 'line',
        color: colors[1],
        data: [106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 4, 6]},
    {
        type: 'column',
        color: colors[0],
        data: [71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 24]},
    {
        type: 'column',
        color: colors[1],
        data: [129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4, 24, 4, 5]}]


});