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

图例 LEGEND颜色固定 #182

Open
yongmingxia opened this issue Jan 25, 2018 · 0 comments
Open

图例 LEGEND颜色固定 #182

yongmingxia opened this issue Jan 25, 2018 · 0 comments

Comments

@yongmingxia
Copy link

yongmingxia commented Jan 25, 2018

我的需求/我的问题

图例 LEGEND颜色固定/每次刷新chart数据内容后,LEGEND颜色会变,希望能固定

数据以及出现问题的源代码

chart.areaStack().position('time*percent')
.color('PerfStatus', ['#FF0000', '#FFFF00', '#00AA00']);
PerfStatus 对应的值是'normal','slow','very slow'

我想把normal:固定绿色,slow:固定黄色,very slow:固定红色

我的期望

有解决方案吗
...

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

1 participant