简体   繁体   English

如何更改amCharts条形图气球背景颜色?

[英]How to change amCharts bar chart balloon background color?

I have to change balloon background color for a bar chart using JavaScript amCharts. 我必须使用JavaScript amCharts更改条形图的气球背景颜色。 Is there a way to change background color? 有没有办法改变背景颜色?

Here is the solution.Change the value fillColor : #000000 (to your desired color). 解决方法如下:将值fillColor:#000000(更改为所需的颜色)。

 "balloon": {
    "adjustBorderColor": true,
    "color": "#000000",
    "cornerRadius": 5,
    "fillColor": "#FFFFFF"
  }

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM