有没有办法设置谷歌图表返回的图像背景

发布于 2024-08-26 16:33:43 字数 126 浏览 3 评论 0原文

有没有办法让谷歌图表的背景透明。 Google 图表。

Is there any way to make the background of the google charts transparent.
Google charts.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我乃一代侩神 2024-09-02 16:33:43

以下是关于 Google Chart API 的 Google 文档的摘录。

使用 6 个字符的十六进制值字符串以及两个可选的透明度值指定颜色,格式为 RRGGBB[AA]。

例如:

  • FF0000 = 红色
  • 00FF00 = 绿色
  • 0000FF = 蓝色
  • 000000 = 黑色
  • FFFFFF = 白色

AA是可选的透明度值,其中00是完全透明,FF是完全不透明。例如:

  • 0000FFFF = 纯蓝色
  • 0000FF66 = 透明蓝色

Here is an excerpt from the google documentation on google chart API.

Specify colors using a 6-character string of hexadecimal values, plus two optional transparency values, in the format RRGGBB[AA].

For example:

  • FF0000 = Red
  • 00FF00 = Green
  • 0000FF = Blue
  • 000000 = Black
  • FFFFFF = White

AA is an optional transparency value, where 00 is completely transparent and FF is completely opaque. For example:

  • 0000FFFF = Solid blue
  • 0000FF66 = Transparent blue
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文