this.chartpie.setOption({
// tooltip: {
// trigger: 'item',
// formatter: '{a} <br/>{b}: {c} ({d}%)'
// },
legend: {
orient: 'vertical',
data: ['启动', '故障', '火警', '屏蔽', '反馈', '监管', '其他'],
icon: 'roundRect',
right: '40',
top: '20',
itemWidth: 10,
itemHeight: 10,
textStyle: {
color: '#E9F2FF'
}
},
series: [
{
name: '报警数量',
type: 'pie',
radius: ['50%', '75%'],
center: ['30%', '50%'],
label: {
normal: {
show: false,
position: &
echarts 鼠标悬浮
最新推荐文章于 2023-08-30 11:17:19 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)