F2 icon indicating copy to clipboard operation
F2 copied to clipboard

F2折线图xAxis最右边的值被遮挡无法显示全

Open 152056212 opened this issue 1 year ago • 3 comments

  • F2 Version: 4.0.48

  • Platform: 微信小程序

  • Mini Showcase(like screenshots): image

  • CodeSandbox Link: https://codesandbox.io/s/f2-reproduction-template-forked-qhtlpf?file=/src/index.js

问题总结:F2折线图xAxis最右边的值被遮挡无法显示全 具体描述:如图所示,x轴最右边的值为2012-01-01 08:00,但是渲染的结果中只显示了“2012-01-01 08”

152056212 avatar Oct 19 '23 08:10 152056212

图表右边的 padding 设置大一点试试哈,原因是label比较长

tangying1027 avatar Oct 23 '23 09:10 tangying1027

图表右边的 padding 设置大一点试试哈,原因是label比较长

这个图表库不能自己适配么?有时候label长有时间短,用户侧没法判断啊

duud666 avatar Nov 06 '23 09:11 duud666

我也出现了同样的问题,现在解决了吗,我给canvas添加paddingRight好像也不行哦

itxiaolaohu avatar Jul 17 '24 06:07 itxiaolaohu