[英]Google Chart API - Pie legend.textStyle color
Starting from the official example for pie chart. 从饼图的官方示例开始。
I'm not able the change the legend color. 我无法改变传奇色彩。
'legend.textStyle': { 'color': 'gray' }
Is not taken into account. 没有考虑到。
Please check out the fiddle 请查看小提琴
Am I doing something wrong ? 难道我做错了什么 ?
I wasn't actually able to get your answer to work either. 我实际上也无法得到你的答案。 Instead, I used the following: 相反,我使用了以下内容:
legend: {textStyle: {color: 'gray'}}
It is 它是
legend: {textStyle: {color: 'gray'}}
instead of 代替
'legend.textStyle': { 'color': 'gray' }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.