简体   繁体   English

如何更改Anychart点图的颜色?

[英]How to change the color of Anychart dot map.?

Is there a way to change the map color in Anycharts dot maps? 有没有办法更改Anycharts点图中的地图颜色? I want the continents to be blue instead of plain white. 我希望各大洲变成蓝色,而不是纯白色。

I tried .color() , .fill etc from the documentation but can't get it to work. 我从文档中尝试了.color() .fill等,但是无法正常工作。

Anycharts dot maps sample Anycharts点图示例

In

map.unboundRegions()
   .enabled(true)
   .fill('#E1E1E1')
   .stroke('#D2D2D2');

Change the fill color #E1E1E1 to whatever color you want. 将填充颜色#E1E1E1更改为#E1E1E1的任何颜色。 Is this what you are looking for? 这是你想要的?

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

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