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

Display snapshot of all values on hover #1

Open
balaagola opened this issue Apr 18, 2019 · 2 comments
Open

Display snapshot of all values on hover #1

balaagola opened this issue Apr 18, 2019 · 2 comments
Assignees

Comments

@balaagola
Copy link

balaagola commented Apr 18, 2019

Hi.. this is not an issue but more like a feature.
Is there any option to display values on hover as in tooltip but for all the series.
Precisely saying to display all the values on hover beside Ruler.

@vasturiano
Copy link
Owner

Thanks for reaching out @balaagola.

That is slightly complicated because the different timeseries can have a different time grid for the points. So, if you are hovering on a particular timestamp in a series, doesn't necessarily mean the other timeseries will have a point at that same exact time. This makes it difficult to add a combo tooltip, or a label per series indicating the value at that time.

Having said that, if you know the logic of the distribution of your points, from the consuming application side, you can always use onHover(...) to extract the current timestamp under the mouse pointer, and use it to reach into your data to extract the other series values. You could even go a step further and re-inject those values into the series name using seriesLabelFormatter(...).

@vasturiano vasturiano self-assigned this Apr 26, 2019
@throrin19
Copy link

Same need here. Horizon is great to compare easilly lot of series, but if the hover does not show all values as same time, is really useless....

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

3 participants