antvis/G2

柱状图x轴下方和y轴左侧对应字段的文字如何去除 #6460

3764446961 posted onGitHub

问题描述

柱状图x轴下方和y轴左侧对应字段的文字如何去除

重现链接

No response

重现步骤

<img width="1440" alt="image" src="https://github.com/user-attachments/assets/ee1f2abf-6550-4e29-8271-7a4a2e28f42f">

预期行为

隐藏红框中的文字

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


{
  axis: {
    x: { title: '' }
  }
}

参考文档内容:https://g2.antv.antgroup.com/manual/component/axis

posted by hustcc 29 days ago

Fund this Issue

$0.00
Funded

Pull requests