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]- Chart Horizontal Scroll #1506

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

[Interactive Chart]- Chart Horizontal Scroll #1506

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

Comments

@Costa769
Copy link
Collaborator

Costa769 commented Sep 25, 2024

Overview

We need to enable users to scroll horizontally through the price chart using the mouse to move forward or backward across different time periods.

Reference

TradingView
Scroll left-right

Implementation

  • Horizontal scrolling should be enabled via click and drag: Users can left click anywhere on the chart, hold, and drag left or right to scroll horizontally.
  • The chart should smoothly scroll, revealing data from earlier or later time periods depending on the scroll direction.
  • The horizontal scroll should allow users to view both historical price data and navigate towards future (unpopulated) time areas and allow users to interact with empty space.
    -- These future areas should have no price data, and the time axis should continue to extend to the right.
    -- Users should be able to scroll and zoom into future time periods just as they can with historical data.
    -- The ability to draw strategy patterns (e.g., lines, channels, etc.) should be fully supported in these future areas, even though there is no price data.
    -- How far in the future or the past do we want the user to be able to scroll?
  • Horizontal scrolling should respect zoom levels—if zoomed in on a detailed timeframe, scrolling should move through smaller time units (e.g., days). If zoomed out, scrolling should move through broader units (e.g., weeks/months).
  • Vertical scroll shouldn’t be supported
  • While horizontally scrolling, the chart should automatically adjust the vertical axis (price axis) to display all visible price data properly.
@Costa769 Costa769 added this to the RC1 milestone Sep 25, 2024
@Costa769 Costa769 self-assigned this Sep 25, 2024
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