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] - Display Time and Price on Axes Based on the Mouse Hover Position #1505

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

Comments

@Costa769
Copy link
Collaborator

Costa769 commented Sep 25, 2024

Overview

The price chart should provide real-time feedback on the exact time and price whenever the user hovers the mouse over any point on the chart. This is crucial for users to track specific price movements at given times, aiding in informed decision-making for trading strategies.

Reference

TradingView
Mouse indicator

Implementation

  • When a user hovers the mouse over any point on the chart, both the exact time and corresponding price should be displayed on the axes similar to how it is implemented in TradingView.
    -- The time should be displayed on the x-axis (horizontal axis).
    -- The price should be displayed on the y-axis (vertical axis).
  • The information displayed on the axes must dynamically update in real time, based on the user's hover position.
  • When hovering over any drawn shapes (like lines, channels, or triangles), the same logic should apply, with the hover showing corresponding prices and dates.
  • The granularity of each mouse movement and the time displayed on the axis should align with the chart's time frame. For example, if the chart displays prices at a daily level, the smallest movement of the mouse pointer should change the time by one day.
  • The information displayed on axes should appear in a format that is consistent with the overall design of the chart (both pricing and date format as well as font size, color, etc.).
  • The hover functionality should work for all zoom levels and time frames
  • The display of the hover information should be seamless and smooth, with no noticeable delay or lag.
@Costa769 Costa769 added this to the RC1 milestone Sep 25, 2024
@Costa769 Costa769 self-assigned this Sep 25, 2024
@Costa769 Costa769 changed the title [Interactive Chart] - Display Time and Price on Axes on Chart Mouse Hover [Interactive Chart] - Display Time and Price on Axes Based on the Mouse Hover Position 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