series: [
{
name: '产品成本',
type: 'pie',
radius: '55%',
center: ['50%', '50%'],
data: production,
label: {
normal: {
show: true,
formatter: '{b}:{c}' + '\n\r' + '({d}%)'
}
}
}
{
name: '产品成本',
type: 'pie',
radius: '55%',
center: ['50%', '50%'],
data: production,
label: {
normal: {
show: true,
formatter: '{b}:{c}' + '\n\r' + '({d}%)'
}
}
}
]
其中:'\n\r'的意思是换行,使显示的内容更加紧凑
本文介绍了一种使用饼状图展示产品成本构成的方法,并详细解释了如何通过配置各项属性来实现美观且易于理解的成本分布图。
3789

被折叠的 条评论
为什么被折叠?



