antvis/G2

请问一下5.X版本升级后是不支持针对维度设置size通道了吗 #5156

zhouhe-1476452306 posted onGitHub

4.X 设置颜色通道根据不同year 散点的大小有改变 image 5.0.11 设置颜色通道为维度不是指标时,legendContinuous.js 该文件会有报错,再加上color通道也只能区分颜色大小没有改变 image


5.0 中 size 仅仅支持数值类型,也就是连续的数据。可以这么做:

.encode('size', (d) => Number(d.year))
posted by hustcc almost 2 years ago

Fund this Issue

$0.00
Funded

Pull requests