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

Show the delta of the selected area in a tooltip, as Google does for stocks #4770

Open
hermesramos opened this issue Oct 22, 2024 · 0 comments
Labels
feature-request New feature or request

Comments

@hermesramos
Copy link

hermesramos commented Oct 22, 2024

Summary

Add a feature to display the percentage change (delta) for a selected area on charts, similar to how Google displays stock data. When users select a portion of the chart, a tooltip should appear, showing the percentage change over that time period. This feature will enhance the user experience by providing more intuitive insights into trends and changes.

For reference, see the example below:

image

API Changes

Introduce a method to calculate the delta for the selected range.

Update the chart API to include an option for showing/hiding the delta tooltip.

Intended Use Case

This feature will allow users to perform quick simulations and gain insights directly on the charts by seeing the percentage change over a selected period. It will be especially useful for financial analysis, helping users make more informed decisions based on historical trends.

@hermesramos hermesramos added the feature-request New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@hermesramos and others