datalabel inside column-2

by tin nguyen

HTML

<script src="http://highcharts.com/js/testing.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>

JavaScript

var chart = new Highcharts.Chart({
    chart: {
        renderTo: 'container',
        defaultSeriesType: 'column'


    },
    xAxis: {
        categories: ['Product A', 'Product B', 'Product C', 'Product D']
    },

    plotOptions: {
        series: {
            stacking: 'normal',
            dataLabels: {
                enabled: true,
                color: 'black'
            }
        }
    },

    series: [
        {name:'2011',
         stack:'dummy1',
        data: [254.0, -176.0, 134, 20.5]},
         {name:'2012',
         stack:'dummy2',
       data: [126.0, 78.0, -33, 20.5]}
    ]

}

);