CEO column chart - dual colour

easyJet bar

by Danielle Parkinson

HTML

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

<div id="container" style="min-width: 1110px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        legend: {
        itemStyle: {
                color: '#202020',
                fontSize: '13px',
                fontFamily: 'Open Sans',
                fontWeight: 'normal'
        }
        },
        chart: {
            type: 'column',
        height: 320,
        width: 1200
        },
        title: {
            text: ' '
        },
        xAxis: {
        categories: ['British Airways/BA.com', 'Airtours', 'expedia', 'Jet2holidays', 'First Choice', 'TUI', 'Kuoni', 'Thomas Cook', 'On the Beach', 'Travel Republic', 'Secret Escapes', 'Voyage', 'Other', 'No one Else'],
                labels: {
                style: {
                color: '#202020',
                fontSize: '13px',
                fontFamily: 'Open Sans'
                }
            },
                    tickLength: 0,
        },
        yAxis: {
        labels: {
                style: {
                color: '#202020',
                fontSize: '13px',
                fontFamily: 'Open Sans'
                }
            },
                    tickInterval: 20,
                    tickLength: 0,
            min: 0,
                    gridLineColor: '#aec4db',
            title: {
                text: ' '
            },
            stackLabels: {
                enabled: false,
                style: {
                    fontWeight: 'bold',
                    color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
                }
            }
        },
       
        tooltip: {
            headerFormat: '<b>{point.x}</b><br/>',
            pointFormat: '{series.name}: {point.y}<br/>Total: {point.stackTotal}'
        },
        plotOptions: {
                series: {
            groupPadding: 0.11
        },
        
            column: {
                
                dataLabels: {
                    enabled: false,
                    color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) ||...