Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

散点图透明效果 #756

Closed
nilday opened this issue Oct 8, 2014 · 1 comment
Closed

散点图透明效果 #756

nilday opened this issue Oct 8, 2014 · 1 comment

Comments

@nilday
Copy link

nilday commented Oct 8, 2014

  1. http://echarts.baidu.com/doc/example/scatter4.html#macarons
  2. http://echarts.baidu.com/doc/example/scatter1.html

对比这两个示例,第一个示例的数据点没有半透明效果,第二个图的有。两者的代码我没有发现任何有设置透明效果的地方,主题中也没有相应的设置。
我现在想实现类似示例2的数据点半透明效果,该如何实现?

@kener
Copy link
Contributor

kener commented Oct 9, 2014

这是一个遗漏,目前有legend的情况下会自动加上透明度,没有legend的分支忘记做这件事情了,下个版本加上。
目前版本你可以通过加legend,或者直接给系列指定rgba颜色添加透明度。
谢谢反馈。

@kener kener closed this as completed in 384b076 Oct 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants