Comments (3)
@AlonaNadler great, I will close this in favour of #80 that will track this feature
from elastic-charts.
@AlonaNadler do you see this as an enforced practice in code or something that can be selected by the user/developer?
We will add the crosshair interaction that will work exactly as you describe: for each x value it will shows the Y values of all the series in a single tooltip.
I've some concerns on enforcing and that's the reason we want to let the user/dev choose:
- it depends on the data context: you may be don't want to compare the two values and only visualize single tooltips
- you may have 10 stacked elements creating a very crowded tooltip for crosshair (specially when you are splitting your chart)
- what happens when we just cluster our bars instead of stack them? this doesn't mean that we don't want to compare the clustered bars together.
from elastic-charts.
- what happens when we just cluster our bars instead of stack them? this doesn't mean that we don't want to compare the clustered bars together.
The existing behavior makes sense for cluster bars, I don't think you need to change anything there.
My issue is only for stacked, It will help to see in the tooltip the line users hovering on in the first line and then the rest, you can limit it or make it scrollable
When you are using stack, you often want to compare values so it makes sense, if users don't want it they can get used to the fact the line they are hovering on is always first and ignore the rest.
from elastic-charts.
Related Issues (20)
- Custom legend with `margin` pushes chart `canvas` out of container
- Chart not rendering. HOT 1
- [Bullet] current bar style with higher contrast HOT 3
- [deps] Upgrade to Redux v5
- Charts Empty States HOT 1
- [gauge/goal] zero target disappear
- Hide labels that do not fit into treemap partition than truncate them HOT 3
- [Annotations] tooltip support for annotations
- Update to flat eslint config
- React type errors rendering `ComponentType`
- Derive auto `logMinLimit` value
- Add support for symlog scale
- Log scale uses wrong baseline for negative domains
- Banded `BarSeries` not showing lower value in tooltip
- [Metric] When trend is enabled the date histogram doesn't get sorted when ingested
- Provide a unified way to support i18n in charts
- Expose chart domain with callback
- [Line Charts][COLOR CONTRAST]: Some of the lines fall below the required 3:1 contrast ratio for non-text elements HOT 2
- [chrome] Cleared canvas when tab is not in in focus HOT 1
- [Legend] Instructions descriptions in tooltip HOT 1
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 elastic-charts.