antvis/G2

[bug]图例计算自定义marker配置的时候,方法感觉不一致 #3555

alphabetabc posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://antv-g2plot.gitee.io/zh/examples/dual-axes/dual-line#dual-line

Steps to reproduce

  1. 为双轴图设置图例设置symbol ,然后颜色不受控制,试图使用callback重置---> 失败了 image
  2. 我以为是g2Plot的问题,跟踪代码后发现,属于g2内部计算customMarker的方法可能有缺失 image
  3. 虽然可以通过以下配置进行处理,但是还是希望能够在更换symbol之后直接可以显示正常的颜色https://github.com/antvis/G2Plot/issues/2143 image
Environment Info
g2 4.1.22
System win
Browser chrome

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


不合理

posted by alphabetabc over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests