0

如何在饼图的 HighChart 中的标签上显示相同的图例框我的代码在此处,标签如下

      dataLabels: {
            enabled: true,
            color: '#000000',
            style: {
                fontSize: '9px'
            },
            distance:3,
            connectorWidth:0,
            formatter: function() {
                return Math.round(this.percentage) +' %';
            }


        },
4

1 回答 1

0

尝试以下:

    legend: {
        align: 'right',  //you can change it
        verticalAlign: 'top', // also change it
        x: 100, //set as you want
        y: 0 // set as you want
    },
于 2013-05-03T10:42:30.937 回答