How to change the pie chart Percentage colour I want To change the 33.33% in black colour
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can change it using option pieSliceTextStyle
. For example:
pieSliceTextStyle: {
color: 'black'
}
Note: that will change font color for all slices. See pie chart configuration options.
You can use also option slices
with property textStyle
to set color for each slice differently: textStyle - Overrides the global pieSliceTextSlice for this slice.