antvis/G2

坐标轴可以设置轴交叉位置么 #4146

pyuyu posted onGitHub

image 类似于这样,设置x轴从y=1交叉,不是和y=0交叉


可以的。只需要 y 字段的数据是一个数组: [start, end]。就可以指定一个柱子的上下数据了。然后只要数据上都是以 1 为分界,图形就是 y=1 交叉的。

posted by hustcc over 2 years ago

Fund this Issue

$0.00
Funded

Pull requests