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

[Interactive Chart] - Support Zoom In/Out #1504

Open
Costa769 opened this issue Sep 25, 2024 · 0 comments
Open

[Interactive Chart] - Support Zoom In/Out #1504

Costa769 opened this issue Sep 25, 2024 · 0 comments
Assignees
Milestone

Comments

@Costa769
Copy link
Collaborator

Costa769 commented Sep 25, 2024

Overview

We aim to allow users to zoom in and out on the price chart using the mouse scroll wheel to view data at different granularities.

Reference

TradingView
Zoom in-out

Implementation

  • The zoom in/out functionality should be implemented using the mouse scroll wheel, similar to charting experiences in TradingView.
  • Users should be able to zoom in to view smaller time frames (e.g., from weekly down to daily level data) and zoom out to see larger time frames (e.g., monthly or yearly).
  • Zooming should occur around the cursor's current position, maintaining a smooth, responsive experience, without abrupt jumps or resets of the display.
  • There should be limits on zooming
    -- Minimum data granularity at the daily level
    -- Maximum zoom out to the full available data range.
  • When zooming in or out, the chart should automatically adjust the vertical axis (price axis) to display all visible price data properly.
  • The zoom level should persist when users navigate between token pairs or various strategy selections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant