echarts饼状图隐藏标示线和标示文字

1、隐藏标识线:

将label: 中的属性设置为:

label: {
  normal: {
    position: 'inner'
  }
},

2、隐藏标识文字:

在label中的normal属性中添加show:false

label: {
  normal: {
    position: 'inner',
    show : false
  }
},

猜你喜欢

转载自blog.csdn.net/qq_28135179/article/details/80660460