Google图表会删除条形图上vAxis textPosition'in'文本周围的白色边框

Gra*_*ant 6 google-visualization

如何在Google Charts条形图上删除文本样式中vAxis textPosition'周围的白色边框?

我的造型看起来像这样:

vAxis: { 'textPosition': 'in', 'textStyle': { color: 'black', 'stroke': 0 } },
Run Code Online (Sandbox Code Playgroud)

我想在我的彩色条纹中的黑色文本周围没有周围的白色区域.

请参阅此链接:https://developers.google.com/chart/interactive/docs/gallery/bubblechart

注意Bubbles如何在其中有文本,周围有白色边框.我想删除此边框,以便黑色文本直接位于气泡颜色上,黑色文本周围没有边框.

我尝试了很多组合,例如:

'textStyle': { color: 'black', 'stroke': 0 }
'textStyle': { color: 'black', 'strokeWidth': 0 }
'textStyle': { color: 'black', 'border': 0 }
'textStyle': { color: 'black', 'border': 'none' }
Run Code Online (Sandbox Code Playgroud)

我没有尝试过任何改变.我的文字周围仍然有白色边框.

dla*_*rte 15

有一个未记录的'auraColor'选项适用于几个(如果不是全部)'textStyle'选项.例如,

textStyle: { auraColor: 'white' }
Run Code Online (Sandbox Code Playgroud)

将其设置为"无"将删除它.