【发布时间】:2021-08-10 10:15:28
【问题描述】:
这是我的 echarts 选项,我不知道在哪里添加选项以在饼图上显示我的数据值。或任何指标来显示没有悬停事件的值。
this.options = {
backgroundColor: this.eTheme.bg,
tooltip: {
trigger: 'item',
formatter: '{b} : {c}',
},
legend: {
orient: 'vertical',
left: 'left',
data: [],
},
series: [
{
name: 'Users',
type: 'pie',
radius: '50%',
center: ['50%', '70%'],
data: [],
},
],
};
【问题讨论】:
标签: angular echarts ngx-echarts