antvis / G2Plot

:dango: An interactive and responsive charting library based on G2.
https://g2plot.antv.antgroup.com
MIT License
2.55k stars 605 forks source link

🤔 如何让y=0的刻度强制显示?目前是自动判断,可能会隐藏 #3719

Open wangwufan opened 9 months ago

wangwufan commented 9 months ago

🐛 折线图,尤其是柱状图,零点划界对我们很重要,用辅助线又太丑了,官方文档我没搜到办法

💻 这是复现例子

https://codesandbox.io/p/sandbox/silly-bouman-yfg9c7?file=%2Findex.ts%3A16%2C16

🏞 能让y轴某一刻度比如y=0强制显示

tianlmn commented 7 months ago

+1