如何在饼图的HighChart中的Label上显示相同的图例框 我的代码在这里用于标签是
dataLabels: {
enabled: true,
color: '#000000',
style: {
fontSize: '9px'
},
distance:3,
connectorWidth:0,
formatter: function() {
return Math.round(this.percentage) +' %';
}
},
答案 0 :(得分: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
},