Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoFit 和 clip 同时存在,没有 tooltip #5706

Closed
pearmini opened this issue Nov 1, 2023 · 1 comment
Closed

autoFit 和 clip 同时存在,没有 tooltip #5706

pearmini opened this issue Nov 1, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@pearmini
Copy link
Member

pearmini commented Nov 1, 2023

问题描述

  • 版本:5.1.6
/**
 * A recreation of this demo: https://observablehq.com/@d3/bar-chart
 */
import { Chart } from '@antv/g2';

const chart = new Chart({
  container: 'container',
  autoFit: true,
  clip: true,
});

chart
  .interval()
  .data({
    type: 'fetch',
    value:
      'https://gw.alipayobjects.com/os/bmw-prod/fb9db6b7-23a5-4c23-bbef-c54a55fee580.csv',
  })
  .encode('x', 'letter')
  .encode('y', 'frequency')
  .axis('y', { labelFormatter: '.0%' });

chart.render();

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@pearmini pearmini self-assigned this Nov 1, 2023
@pearmini pearmini added the Bug label Nov 1, 2023
@pearmini pearmini added this to the 5.1.7 milestone Nov 1, 2023
@pearmini
Copy link
Member Author

pearmini commented Nov 3, 2023

这个问题,在 5.1.6 已经修复,之前是因为官网没有更新导致的。

@pearmini pearmini closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant