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] Bullet plot renders incorrectly when using the max option of the axis component #2636

Closed
delyanr opened this issue Jun 12, 2021 · 0 comments · Fixed by #2639
Closed
Assignees
Labels
Bug Something isn't working

Comments

@delyanr
Copy link

delyanr commented Jun 12, 2021

🐛 Bug description

The rangeField and targetField values are incorrectly displayed when using the max option of the main axis of a Bullet plot (they appear to scale with axis, rather than stay fixed). Interestingly the measureField values are fine.

💻 Link to minimal reproduction

Codesandbox repro

📷 Step to reproduce

See the reproduction - it's quite self-explanatory. Just use any value for the max option of the main axis, and notice how the values scale with the axis. (Note that the tooltips usually show the correct values as well.)

🏞 Expected result

All values should remain fixed against the axis, rather than scale with it.

🚑 Any additional [like screenshots]

  • G2Plot Version: 2.3.33
  • Platform: React 16.14
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

Successfully merging a pull request may close this issue.

2 participants