antvis/G2

开启legend时,使用geometry.color的callback参数类型时,自动出现滑块,并且callback执行的参数,含有非data中的数据 #3958

LYnnProspery posted onGitHub

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

https://antv-g2.gitee.io/zh/examples/case/column#column2

Steps to reproduce

任意demo,这里以官网demo链接举例:

<img width="902" alt="image" src="https://user-images.githubusercontent.com/18085369/171379593-1b2af5bc-d40a-4fa2-95c0-151bcbf2244f.png"> <img width="1448" alt="image" src="https://user-images.githubusercontent.com/18085369/171379824-ac0d4e53-2da2-42de-bc86-5ecf822475c5.png">

Environment Info
g2 4.2.2
System -
Browser -

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


发现如果开启legend就有此问题

posted by LYnnProspery almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests