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

🐛 [BUG] 雷达图设置了面积area: {},y值有负数时面积绘制不对 #3775

Open
Gaqier opened this issue May 10, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@Gaqier
Copy link

Gaqier commented May 10, 2024

🐛 Bug description [Please make everyone to understand it]

Please provide a link by forking these links G2Plot or GitHub repo, a minimal reproduction.

  • Required Link to minimal reproduction:

📷 Step to reproduce

import { Radar } from '@antv/g2plot';

const data = [
  { name: '通风时间', star: 8 },
  { name: '毒物浓度', star: 0.60 },
  { name: 'lny', star: -1.28 },
];
const radarPlot = new Radar('container', {
  renderer: 'svg',
  data,
  xField: 'name',
  yField: 'star',
  point: {
    size: 2,
  },
  area: {},
});
radarPlot.render();

绘制效果为
image

🏞 Expected result

面积正常绘制

🚑 Any additional [like screenshots]

  • G2Plot Version: 2.4.25
  • Platform: chrome
@Gaqier Gaqier added the Bug Something isn't working label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant