Highcharts Demo

author(s): Torstein Hønsi

by Black Label

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>

<div id="container"></div>

CSS

#container {
    min-width: 310px;
    max-width: 800px;
    height: 400px;
    margin: 0 auto
}

JavaScript

Highcharts.chart('container', {
    xAxis: {
        type: 'category'
    },
    plotOptions: {
        series: {
            grouping: false
        }
    },
    series: [{
        type: 'column',
        data: [
            [0, 1],
            [1, 2],
            [2, 3]
        ]
    }, {
        type: 'column',
        data: [
            [4, 1],
            [5, 2],
            [6, 3]
        ]
    }, {
        type: 'scatter',
        data: [{
            y: 1,
            marker: {
                symbol: 'url(https://www.highcharts.com/samples/graphics/sun.png)'
            }
        }, 2, {
            y: 0,
            marker: {
                symbol: 'url(https://www.highcharts.com/samples/graphics/sun.png)'
            }
        }, 4, 5]
    }]
});