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

TSVB should have an option to allow switching the tooltip mode #60013

Closed
timroes opened this issue Mar 12, 2020 · 4 comments · Fixed by #67775
Closed

TSVB should have an option to allow switching the tooltip mode #60013

timroes opened this issue Mar 12, 2020 · 4 comments · Fixed by #67775
Assignees
Labels
enhancement New value added to drive a business result Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@timroes
Copy link
Contributor

timroes commented Mar 12, 2020

It would be nice if we have a toggle (under Panel options > Style) to switch in TSVB whether the tooltip should show all values on hovering or only the focused one (this mode already exists in Elastic Charts).

That way we can prevent users with a high series in their charts to have too large tooltips if they prefer to only see the highlighted value.

cc @markov00

@timroes timroes added Feature:TSVB TSVB (Time Series Visual Builder) enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Mar 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@markov00
Copy link
Member

Changing this line


to

type: TooltipType.Follow,

will change the behaviour of showing the tooltip with all the series on that specific x value with only showing the value on a single data point.
Please double check if everything works again with multiple TSVB charts on the same dashboard (the cursor should continue to being synchronised)

@ddelliosRJ
Copy link

Hi, I am facing the same issue in Kibana 7.7 and the hack from mr markoov does not seem to work when I inject it manually in my installed index.js file. Is there something I am missing?

@markov00
Copy link
Member

markov00 commented Jun 3, 2020

Hi, I am facing the same issue in Kibana 7.7 and the hack from mr markoov does not seem to work when I inject it manually in my installed index.js file. Is there something I am missing?

Hi @ddelliosRJ I've tested locally and should work. There can be an issue if you are moving your mouse in a zone where multiple datapoints are overlapping each other (like in the case where your data points are all on the same X coordinate and their Y values are very close to each other). In this case, the tooltip will show all the series names.

We can think of an enhancement where the tooltip will show a sort of aggregate when multiple series shares the same X and Y values, something like:
Screenshot 2020-06-03 at 15 24 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants