我已经使用highcart实现了饼图。 Highchart 3d饼图指针未指向正确的颜色。它指向错误的区域。但是,如果我删除了3d选项,它将按预期工作。请找到以下代码段和屏幕截图。
chart: {
renderTo: element[0],
backgroundColor: 'transparent',
type: "pie",
options3d: {
enabled: true,
alpha: 45,
beta: 0
},
height: dynamicHieght,
verticalAlign: 'top'
},
title: {
text: ''
},
credits: {
enabled: false
},
exporting: false,
legend: {
enabled: false
},
tooltip: {
pointFormat: '{point.name} - {point.incomingTaffic}</b>',
headerFormat: ''
},
plotOptions: {
pie: {
allowPointSelect: true,
cursor: 'pointer',
depth: 35,
dataLabels: {
enabled: true,
format: '{point.y}%'
}
}
},
series: [{
type: 'pie',
name: "Traffic in bps",
colorByPoint: true,
data: scope.chartconfig.data,
colors: ["#5DA5DA", "#F17CB0", "#414a89", "#ff8b80", "#ffa661", "#74beec" , "#ffbf00", "#b67bd1", "#ffc54c", "#e4e34f", "#b2ff73", "#60d394", "#ee6055"]
}]