-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Show tooltip on external pointer events #77306
Conversation
I would kindly ask @markov00 & @nickofthyme to assist here. |
Looking to see if this changed on our side. |
@sulemanof Yeah looks like the Let me put up a PR to fix that. |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sulemanof sorry for the delay, this should be good to go with the changes from elastic/elastic-charts#817.
@@ -139,6 +140,7 @@ export const TimeSeries = ({ | |||
type: tooltipMode === 'show_focused' ? TooltipType.Follow : TooltipType.VerticalCursor, | |||
headerFormatter: tooltipFormatter, | |||
}} | |||
externalPointerEvents={{ tooltip: { visible: true } }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option now only controls the tooltip visibility. The crosshair is always shown when using dispatchExternalPointerEvent
.
externalPointerEvents={{ tooltip: { visible: true } }} | |
externalPointerEvents={{ tooltip: { visible: false } }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💚 Build SucceededMetrics [docs]async chunks size
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-app (Team:KibanaApp) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Tested it locally, regression is gone! Thanx @sulemanof and @nickofthyme for taking care of this ❤️
* Show external pointer events in TSVB * Disable tooltip visibility Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Show external pointer events in TSVB * Disable tooltip visibility Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@sulemanof @nickofthyme do we have the appropriate elastic charts version on 7.9 to backport this to 7.9? If so I think this should be backported to make it into 7.9.3. |
We don't have such a version in 7.9 unfortunately.. |
* Show external pointer events in TSVB * Disable tooltip visibility Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Show external pointer events in TSVB * Disable tooltip visibility Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* master: (217 commits) Fix dashboard "snapshot share" is not sharing panel state in view mode (elastic#79837) fix can't edit a scripted field with special char (elastic#79842) [ML] clear selection action (elastic#79834) [TSVB] Show tooltip on external pointer events (elastic#77306) Fixes bug where the same index was being passed in (elastic#79949) Adds date time query and return fields for timestamps and overrides (elastic#79911) [Security Solution][Detections] Reverts rules table tag filter to use AND operator (elastic#79920) add the correct class to truncate the names (elastic#79921) [kbn/optimizer] report limits with ci metrics (elastic#78205) [release notes] extract "dev docs" comment too (elastic#79351) Revert "skips test failing promotion (elastic#79777)" (elastic#79904) share tslib across bundles (elastic#79915) remove entire suite as partial skips aren't doing the trick skip flaky suite (elastic#78689) Skip failing suite (elastic#79522) skip flaky suite (elastic#79910) [es/mappings] remove doc_values from text fields (elastic#79869) remove skipped snapshots skip flaky tests (elastic#79891) chore(NA): add missing branches into backportrc configuration file (elastic#79848) ...
@sulemanof created backport with |
* [TSVB] Show tooltip on external pointer events (#77306) * Show external pointer events in TSVB * Disable tooltip visibility Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> * update elastic/charts to v19.8.3 Co-authored-by: Daniil Suleiman <31325372+sulemanof@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Show tooltip on external pointer events in TSVB chart.
Fixes #76954
The regression was caused by this change in elastic-charts.
But with the change, TSVB charts do not work the same way as in
7.8
:prior to
7.9
only theVertical cursor parallel to x axis
where shown in external chartnow the whole tooltip is visible:
Checklist
Delete any items that are not applicable to this PR.
For maintainers