Pie charts - only one indicator

 Directly into the following code 

https://gallery.echartsjs.com/editor.html?c=xBy9Gn_x99 you can debug the 

Option = { 
    
            title: { 
              text: 'I am content' , 
              X: 'Center' , 
              Y: 'Center' , 
              textStyle: { 
                fontWeight: 'Normal' , 
                Color: '# 0580f2' , 
                the fontSize: '20 is' 
              } 
            }, 
            
            
            // the index 
            Legend: { 
              Show: to true , 
              itemGap: 12 is , 
              Data: [ 'used 0' ]
            },


            Series: [{ 
              type: , 
              Data: [{ 'PIE' , 
              CLOCKWISE: to true , // slice of the pie whether clockwise arrangement. 
              RADIUS: ['50% ', '66%'], // adjust the width size
               ItemStyle: { 
                Normal: { 
                  label: { 
                    Show: to false 
                  }, 
                  labelLine: { 
                    Show: to false 
                  } 
                } 
              }, 
              hoverAnimation: to false 
                value: 80 , 
                name: 'used 0' , 
                ItemStyle: { 
                  Normal: { 
                    Color: { // complete color ring 
                      colorStops: [{ 
                        offset: 0 , 
                        Color: '# 00cefc' // color at a 0% 
                      }, { 
                        offset: . 1 , 
                        color: '# 00cefc' // color at 100% 
                      }] 
                    }, 
                    label: { 
                      Show: to false 
                    },
                    labelLine: {
                      show: false
                    }
                  }
                }
              }]
            }]
        };

 

 

Guess you like

Origin www.cnblogs.com/IwishIcould/p/11449156.html