Highcharts Demo

author(s): Torstein Hønsi

by Arvind Pal

HTML

<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>

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

<!-- <button id="large">Large</button>
<button id="small">Small</button> -->

CSS

#container {
	height: 300px;
	min-width: 310px;
	max-width: 800px;
}

JavaScript

var chart = Highcharts.chart('container', {

    chart: {
        type: 'column'
    },

    title: {
        text: ''
    },

    subtitle: {
        text: ''
    },
   /*  plotOptions: {
        column: {
            stacking: 'normal',
            dataLabels: {
                enabled: true,
                color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || 'white'
            }
        }
    }, */

    legend: {
        align: 'right',
        verticalAlign: 'middle',
        layout: 'vertical'
    },

    xAxis: {
        categories: ['Data Analyst', 'Business Analyst', 'Data Steward', 'Data Engineer','Data Scientist'],
        labels: {
            x: -10
        } 
    },

    yAxis: {
        allowDecimals: false,
        title: {
            text: 'Event Counts'
        }
    },

    series: [{
        name: 'Info Axon',
        data: [3100, 4060, 3333,2343,7777]
    }, {
        name: 'Collibra DGC',
        data: [6333, 4234, 2234,1234,4444]
    }, {
        name: 'Jira',
        data: [8123, 4234, 3123,2222,5555]
    }, {
        name: 'Discourse',
        data: [8123, 4234, 3123,2222,5555]
    }, {
        name: 'Confluence',
        data: [4123, 3234, 2123,4222,5555]
    }, {
        name: 'ServiceNow',
        data: [8123, 4234, 3123,2222,5555]
    }, {
        name: 'Hivebrite',
        data: [5123, 6234, 8123,6222,6555]
    }],

    responsive: {
        rules: [{
            condition: {
                maxWidth: 500
            },
            chartOptions: {
                legend: {
                    align: 'center',
                    verticalAlign: 'bottom',
                    layout: 'horizontal'
                },
                yAxis: {
                    labels: {
                        align: 'left',
                        x: 0,
                        y: -5
                    },
                    title: {
                        text: null
                    }
                },
                subtitle: {
   ...