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
V5版本 图例样式 在增加shape 属性后失效 #5085
Comments
当前 legend 没有根据 shape 来处理样式,line 只有一种 marker 类型。 |
@hustcc 按照我的理解,按照代码中的写法 shape 是控制折线图的样式和legend并没有关系吧,并不应该设置后影响到legend的显示。如果想实现 折线图 圆角过度,且图例的lable 字体为红色 应该怎样写呢? |
不好意思,我刚理解错了,这个 bug 已知了,在修复中了! |
目前有个简单的解决办法: chart.line().encode('shape', 'smooth');
// 改成下面
chart.line().style('shape', 'smooth'); |
这个问题已经修复了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
版本:5.0.8
示例
The text was updated successfully, but these errors were encountered: