2014-10-10 70 views

回答

3

使用dataLabels的formatformatter配置屬性,你可以讓他們說任何你想要的。

  pie: { 
       dataLabels: { 
        enabled: true, 
        formatter: function(){ 
         return 'Y Value: ' + this.y; // y value 
        } 
       }, 
       showInLegend: true 
      } 

快速example