xy 2 years ago
parent ecad6de65b
commit ed9de1e63a

@ -392,6 +392,16 @@
var top = rowIndex * (pieHeight + gap / pieRows); // 计算top位置
return {
type: 'pie',
title: lies.map(function (item) {
return {
text: item.product_item_name,
left: left + '%',
top: (top) - (pieWidth/2) + "%",
textStyle: {
fontSize: 12
}
}
}),
radius: [40, 60],
top: top + "%",
height: pieHeight + "%",

Loading…
Cancel
Save