2014-01-30 83 views

回答

5

可以使用選項pieSliceTextStyle改變它。例如:

 pieSliceTextStyle: { 
      color: 'black' 
     } 

注:將改變字體顏色爲所有切片。請參閱pie chart configuration options

您還可以使用選項slices財產textStyle設置顏色爲每個切片不同:TEXTSTYLE - 覆蓋全球pieSliceTextSlice此片。

+0

您好我使用legendtype:標記,但它們顯示百分比,而不是價值http://stackoverflow.com/questions/21472845/google-pie-chart-legend-type-labeled-showing-percentage – arun