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

Add tootip sync mechanism #695

Closed
3 tasks
cauemarcondes opened this issue Jun 8, 2020 · 1 comment · Fixed by #698
Closed
3 tasks

Add tootip sync mechanism #695

cauemarcondes opened this issue Jun 8, 2020 · 1 comment · Fixed by #698
Assignees
Labels
enhancement New feature or request :interactions Interactions related issue released Issue released publicly :xy Bar/Line/Area chart related

Comments

@cauemarcondes
Copy link

cauemarcondes commented Jun 8, 2020

Is your feature request related to a problem? Please describe.
I am building a page that will have multiples charts(elastic/kibana#68176 for 7.9), they will all have the same x value. I'd like to have a way to sync all tooltips so when a user hovers over any chart the others tooltip would be shown.
Like the APM transaction page.
Screenshot 2020-06-08 at 14 18 51

Describe the solution you'd like
We could have a hoverX property that would be used to pass in the current position the user is hovering on another chart.

Checklist

Delete any items that are not applicable to this feature request.

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@cauemarcondes cauemarcondes added the enhancement New feature or request label Jun 8, 2020
@markov00 markov00 added :interactions Interactions related issue :xy Bar/Line/Area chart related labels Jun 8, 2020
@markov00 markov00 self-assigned this Jun 9, 2020
markov00 added a commit that referenced this issue Jun 18, 2020
Adds the ability to show tooltip on a synced chart. The `<Settings />` component has a new prop that allows the consumer to describe the behavior of external events (in this case the behavior of the tooltip if an external event was received from the chart).
The main setting is the ability to turn on the tooltip visibility if an external pointer event is received. Then the consumer can also configure the placement of the tooltip and the boundary, as it can be done for a normal tooltip.
The `ExternalPointerEventsSettings` is structured like that to accommodate in the future more settings, not only for tooltip but for anything that can be configured in case of external events (like change/update the legend extra value when we receive an event from another chart).

close #695
markov00 pushed a commit that referenced this issue Jun 24, 2020
# [19.6.0](v19.5.2...v19.6.0) (2020-06-24)

### Features

* show tooltip for external events ([#698](#698)) ([cc31739](cc31739)), closes [#695](#695)
@markov00
Copy link
Member

🎉 This issue has been resolved in version 19.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@markov00 markov00 added the released Issue released publicly label Jun 24, 2020
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request :interactions Interactions related issue released Issue released publicly :xy Bar/Line/Area chart related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants