使用echart制作饼状图,data 中配置了value
怎么样才能实现value值不等,但让饼状图的面积等分
// 请把代码文本粘贴到下方(请勿用图片代替代码)
return { id: index + 'pie', type: 'pie', center: center, label: { normal: { formatter: '{c}', position: 'inside'
}
}, radius: pieRadius, // radius: '33.33%', data: [
{ name: '学习字数', value: item.pieValue[0] },
{ name: '学习时长', value: item.pieValue[1] },
{ name: '获得星星', value: item.pieValue[2] }
]
}
怎么样才能实现 图中的饼状图,值不等,面积等分,value值不等,但让饼状图的面积等分
富国沪深
偶然的你
随时随地看视频慕课网APP
相关分类