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

Bubble chart tooltip customization capabilities #1042

Closed
smith opened this issue Mar 2, 2021 · 1 comment · Fixed by #1082
Closed

Bubble chart tooltip customization capabilities #1042

smith opened this issue Mar 2, 2021 · 1 comment · Fixed by #1082
Labels
enhancement New feature or request released Issue released publicly

Comments

@smith
Copy link
Contributor

smith commented Mar 2, 2021

In APM we want to implement a bubble chart with tooltips (elastic/kibana#88852). The current capabilities of tooltips are not sufficient at this time. #615 exists to improve tooltips but @markov00 asked me to open a separate issue to describe our specific needs.

The instances latency distribution chart in APM is a bubble chart that plots points for instances running a service with throughput on the X-axis and latency on the Y-axis:

image

The data points look like this:

{
  "serviceNodeName": "cdee148c7ee2cef54c1b1dbb6491b925d94f16e27c5ddaa1fa371e0bce3ee8ce",
    "throughput": {
    "value": 11.1875,
    },
  "latency": {
    "value": 623125.8212290503,
     },
}

We would like the tooltip to look something like:

+------------------------------------------------------------------+
| cdee148c7ee2cef54c1b1dbb6491b925d94f16e27c5ddaa1fa371e0bce3ee8ce |
+------------------------------------------------------------------+
| Latency 62 ms                                                    |
| Throughput 11 tpm                                                |
+------------------------------------------------------------------+

Since the tooltipProps.header does not receive a datum argument we are unable to easily get the serviceNodeName, and by default only the value of the throughput is shown in the body.

@smith smith added the enhancement New feature or request label Mar 2, 2021
markov00 added a commit to markov00/elastic-charts that referenced this issue Mar 17, 2021
Adds the datum, when possible, to the TooltipValue object.
Currently available for cartesian, gauge/goal, heatmap.
Disabled for partition charts as we cannot represent a single datum for a partition chart
due to its aggregated and nested nature.

fix elastic#1042
markov00 added a commit that referenced this issue Mar 23, 2021
Adds the datum, when possible, to the TooltipValue object.
Currently available for cartesian, gauge/goal, heatmap.
Disabled for partition charts as we cannot represent a single datum for a partition chart
due to its aggregated and nested nature.

fix #1042
github-actions bot pushed a commit that referenced this issue Mar 23, 2021
# [25.4.0](v25.3.0...v25.4.0) (2021-03-23)

### Bug Fixes

* chromium area path render bug ([#1067](#1067)) ([e16d15d](e16d15d))

### Features

* **tooltip:** expose datum in the TooltipValue ([#1082](#1082)) ([0246784](0246784)), closes [#1042](#1042)
* **wordcloud:** wordcloud ([#1038](#1038)) ([f08f4c9](f08f4c9))
@nickofthyme
Copy link
Collaborator

🎉 This issue has been resolved in version 25.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@nickofthyme nickofthyme added the released Issue released publicly label Mar 23, 2021
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 released Issue released publicly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants