7

I am referring to this https://ecomfe.github.io/echarts/doc/example/pie1.html#-en example. I am not able to hide the adjacent labels in the pie graph. I have encircled one of the labels I wish to hide in the attached image. Kindly help. Thanks!

enter image description here

d33a
  • 690
  • 1
  • 14
  • 39

1 Answers1

13

Found the solution to my problem. I had to include the following code into the options and it worked:

itemStyle : {
              normal : {
                         label : {
                                   show : false
                                  },
                         labelLine : {
                                       show : false
                                      }
                         }
              }
d33a
  • 690
  • 1
  • 14
  • 39