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

Brush scale #2452

Closed
brockelmore opened this issue May 13, 2020 · 2 comments
Closed

Brush scale #2452

brockelmore opened this issue May 13, 2020 · 2 comments

Comments

@brockelmore
Copy link

Currently, G2 brushes "snap" to data. This causes issues for column charts. Ideally, a user should be able to change the scale independent of data contained inside the scale change. I've included an example from plotly.js that demonstrates how the interaction should occur.

Related may be that brush-y doesn't seem to work on Firefox.

@brockelmore
Copy link
Author

brockelmore commented May 13, 2020

snapDataNoBox

Here is how it works on firefox using brush-x. I would like to only move x-axis scale, not snap to data. Additionally, no box is drawn when holding down mouse to select range.

Also you will see a line appear in the gif. This is an annotation outside the selected x region and shouldn't be pushed into view in any case. Just reproduced in Chrome as well.

@hustcc
Copy link
Member

hustcc commented Aug 22, 2023

Sorry, due to problems in the program's architecture design, we are unable to effectively fix the issues. You can have a try with G2 v5.

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

No branches or pull requests

2 participants