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-x interaction can't handle drag outside of chart area. #2449

Closed
MarkLyck opened this issue May 12, 2020 · 1 comment
Closed

brush-x interaction can't handle drag outside of chart area. #2449

MarkLyck opened this issue May 12, 2020 · 1 comment

Comments

@MarkLyck
Copy link

MarkLyck commented May 12, 2020

  • G2 Version:4.0.2
  • Platform: Google Chrome
  • Example: any brush example on your examples page.

The most interesting part of a line chart, is always the latest data.

The part I want to zoom in on, is maybe the last 10 data points out of 1,000. But this seems to be virtually impossible with the brush-x interaction.

When you start a brush drag inside the chart, and then drag to the end of the chart, when you hit the edge of the chart the brush just fails and nothing happens.

As a user I would expect it to zoom from the area I started until the end if my cursor passes the edge of the chart area while selecting my zoom.

This is a dealbreaker for me to use G2, Please please fix this. It seems all other chart libraries can handle this scenario except G2.

I don't want to use the "Slider" interaction.

@hustcc
Copy link
Member

hustcc commented Aug 22, 2023

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