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

Fix range of Y axis in time-series charts #285

Closed
forman opened this issue Apr 28, 2023 · 2 comments · Fixed by #330
Closed

Fix range of Y axis in time-series charts #285

forman opened this issue Apr 28, 2023 · 2 comments · Fixed by #330
Labels
enhancement New feature or request

Comments

@forman
Copy link
Member

forman commented Apr 28, 2023

Users should be able to fix the range of the Y axis in time-series charts, e.g., to exclude outliers.

See also #284

@forman forman added the enhancement New feature or request label Apr 28, 2023
@forman
Copy link
Member Author

forman commented Apr 24, 2024

I investigated how to implement zooming into Y axis using recharts with least effort:

The most obvious implementation is to let users zoom into the time-series chart using an arbitrary zoom rectangle as we know it from plotly and many other libraries. The solution provided at recharts-square-zoom-implementation doesn't work, as it does not take into account the actual scaling from chart component coordinates into the X/Y domains used for displaying the data. Unfortunately, recharts does not have any API to know the current transformation (= offset and resolution vectors in X/Y units).

Here are some recharts issues regarding the lacking feature:

@forman
Copy link
Member Author

forman commented Apr 25, 2024

See #217

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

Successfully merging a pull request may close this issue.

1 participant