Highcharts Demo

author(s): Torstein Hønsi

by koh_edwin

HTML

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

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

CSS

#container {
    height: 400px;
    width: 600px;
    margin: 0 auto;
}

JavaScript

Highcharts.chart('container', {

    chart: {
        type: 'column'
    },

    title: {
        text: 'Max point width in Highcharts'
    },

    xAxis: {
        categories: ['One', 'Two', 'Three', 'One', 'Two', 'Three', 'One', 'Two', 'Three',1, 2, 3,1, 2, 3]
    },

    series: [{
        data: [1, 2, 3,1, 2, 3,1, 2, 3,1, 2, 3,1, 2, 3],
        maxPointWidth: 50
    }]

});