antvis/G2

折线图显示label时有时候最上方的文字会被遮挡 #3302

MichaelJokAr posted onGitHub

  • I have searched the issues of this repository and believe that this is not a duplicate.

https://github.com/antvis/G2/issues/new/choose

Steps to reproduce

截图 image

export function renderChart(id) {
  const chart = new Chart({
    padding: [5, 20, 50, 50],
    container: id,
    height: 300,
    autoFit: true,
    syncViewPadding: true,
  })
  chart.animate(true)
  chart.tooltip({
    showCrosshairs: true, // 展示 Tooltip 辅助线
    shared: true,
  })
  return chart
}
Environment Info
g2 4.0.14
System -
Browser -

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


Fund this Issue

$0.00
Funded

Pull requests