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

【v5】Y 轴 slider 显示不全 #5243

Closed
Deathsteps opened this issue Jun 27, 2023 · 1 comment · Fixed by #5274
Closed

【v5】Y 轴 slider 显示不全 #5243

Deathsteps opened this issue Jun 27, 2023 · 1 comment · Fixed by #5274
Assignees
Labels

Comments

@Deathsteps
Copy link
Contributor

问题描述

image

期望结果

Y 缩略轴应该完整显示

如何重现

官方代码修改

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

const chart = new Chart({
  container: 'container',
  theme: 'classic',
  autoFit: 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%' })
  .slider('y', {});

chart.render();

额外信息

  • G2 5.0.13 版本
@pearmini pearmini added the V5 label Jul 3, 2023
@pearmini pearmini self-assigned this Jul 3, 2023
@hustcc
Copy link
Member

hustcc commented Jul 3, 2023

文本显示方向跟随 slide 方向。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants