Bug datalabel on point in pie

author(s): Torstein Hønsi

by kzoon

HTML

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

JavaScript

$(function() {
    var chart = new Highcharts.Chart({

        chart: {

            renderTo: 'container',
            //type:'pie',    //comment in to see this does not work in pie charts
            marginRight: 50
        },
        plotOptions: {
            series: {
                dataLabels: {
                    enabled: false
                }
            }
        },
        series: [{
            data: [{
                y: 216.4,
                name: 'first'},
            {
                y: 54.4,
                name: 'second',
                dataLabels: {
                    enabled: true
                }
                }] //data
            }] //series
    });


});