G2Plot icon indicating copy to clipboard operation
G2Plot copied to clipboard

🐛 [BUG]xAxis label autoRotate 超出canvas范围

Open xiaoxintang opened this issue 1 year ago • 1 comments

🐛 Bug description [Please make everyone to understand it]

配置label自动旋转的时候,改变浏览器宽度。会出现label超出canvas范围的情况 官方链接

📷 Step to reproduce

  1. 52行左右。将autoRotate设为true。autoHide设为false
  xAxis: {
    label: {
      autoHide: false,
      autoRotate: true,
    },
  }
  1. 缩小屏幕 image

🏞 Expected result

完整展示出label

🚑 Any additional [like screenshots]

  • G2Plot Version: 官方链接版本
  • Platform: 官方web网站

xiaoxintang avatar Aug 30 '23 02:08 xiaoxintang

同样的问题,似乎也没有什么办法可以通过配置解决。

LeeSPeed0709 avatar Oct 17 '23 03:10 LeeSPeed0709