Comments (5)
Instead of the cross hair snapping to the y, I was thinking of an in-place tooltip, like this. This will be a new tooltip component InPlaceTooltip
and anyone can use this along with or as a replacement of MouseCoordinate
.
from react-stockcharts.
Oh yes that would be great, that's exactly what I would need. Adding an optional callback when a tooltip is requested ( tooltipRequested
)on a data point would be great too (to specify its text content).
One problem I have with what I have done with my modifying of MouseCoordinates is that no matter how close the mouse pointer is from a point, it has to be the closest X-wise first, then Y-wise, so the user experience in some cases can be a real pain (try "tooltiping" the third orange data point in your example, here it's not an issue because the Y axis is the same).
To avoid this problem of point, it might be nice to be able to specify which curve (or, at least, Chart) is "tooltipable" or not.
from react-stockcharts.
Work in progress version here
from react-stockcharts.
Excellent work! Been hoping to see hover tooltip at some point.
from react-stockcharts.
fixed, published in 0.5
from react-stockcharts.
Related Issues (20)
- Error: Cannot find module 'D:\charts\node_modules\@react-financial-charts\annotations\lib\Annotate' imported from D:\charts\node_modules\@react-financial-charts\annotations\lib\index.js HOT 5
- How can I display an indicator using datafeed api.. (for example - Open Interest)
- how to load every time next 3 months data when we reach to the last candle on drag
- How to change displayed format for X axis? HOT 1
- Is it possible to set x Axis to certain date? HOT 2
- What stock charting lib are you using in 2022? HOT 2
- Is it possible to use grouped and stacked bar in one chart HOT 1
- compatibility with next.js -- a lot of warnings and errors HOT 3
- Drawing data-based trendlines on a Candlestick Chart HOT 1
- Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. HOT 5
- Conflict with react^18 HOT 6
- How to add second yAxis? Didn't find anything across docs and internet
- How to show equal interval of ticks with equal spacing in between ticks in x-axis?
- Panning issue in a multi series chart HOT 2
- How to create kdj in chart? HOT 1
- InteractiveYCordinates disappears on mouse enter and mouse click events
- Dependency error during installation HOT 7
- npm ERR! peer react@"^15.0.0 || ^16.0.0" from [email protected] HOT 1
- Plotting Live Candle in seconds and adding it to data after 1 minute
- Loads more data without losing the current viewport
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-stockcharts.