Highcharts No Point Padding w/ Border

Fixing the aligment issue when No Point Padding w/ Border

by jacobwsmith

HTML

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

<div id="container" style="height: 400px"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        colors: ["#5790C5", "#073FCC"],
        plotOptions: {
            series: {
                //shadow: true
                shadow: {
                    enabled: true,
                    offsetX: 3,
                    offsetY: 10,
                    color: '#cccccc',
                    opacity: 0.5,
                    width: 6
                },
                borderWidth: 1,
                borderColor: '#000000',
            },
            column: {
                    pointPadding: 0 // removes spacing between control and exposed
                }
        },

        series: [{
            data: [29.9, 71.5],
            type: 'column'
        }, {
            data: [71.5, 29.9],
            type: 'column'
        }]
    });
});