antvis/G2

The issue has been closed
[bug]图例计算自定义marker配置的时候,方法感觉不一致 #3555
alphabetabc posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
https://antv-g2plot.gitee.io/zh/examples/dual-axes/dual-line#dual-line
Steps to reproduce
- 为双轴图设置图例设置symbol ,然后颜色不受控制,试图使用callback重置---> 失败了
- 我以为是g2Plot的问题,跟踪代码后发现,属于g2内部计算customMarker的方法可能有缺失
- 虽然可以通过以下配置进行处理,但是还是希望能够在更换symbol之后直接可以显示正常的颜色https://github.com/antvis/G2Plot/issues/2143
Environment | Info |
---|---|
g2 | 4.1.22 |
System | win |
Browser | chrome |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->