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

[Lens] Tooltip customization basics (hover mode & visibility) #102753

Closed
Tracked by #184459
ghudgins opened this issue Jun 21, 2021 · 6 comments
Closed
Tracked by #184459

[Lens] Tooltip customization basics (hover mode & visibility) #102753

ghudgins opened this issue Jun 21, 2021 · 6 comments
Labels
Feature:Lens good first issue low hanging fruit 🧊 iceboxed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@ghudgins
Copy link
Contributor

ghudgins commented Jun 21, 2021

Describe the feature:
Elastic-charts supports "Tooltip types". Include additional controls in Lens that expose...

  • disabling tooltip
  • changing mouse over behavior from "follow" mode to other modes

see "other" tab under "Knobs" here https://elastic.github.io/elastic-charts/?path=/story/grids--lines

Describe a specific use case for the feature:
Other hover types
When visualizing dense data
I need to enable vertical / crosshair tooltip hover axis references
So I can see exactly where on each axis the cursor is as I hover

Disabling
When I want the visualization to appear static
I need to disable the tooltip
So I can present the vis and data as is without interactivity

Need @MichaelMarcialis' input on the terminology of these elastic-charts settings in the lens UI

image

@ghudgins ghudgins added good first issue low hanging fruit Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens labels Jun 21, 2021
@elasticmachine
Copy link
Contributor

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

@MichaelMarcialis
Copy link
Contributor

Nice! I think this option (or set of options) would fit nicely in the Lens toolbar above the chart (adjacent to the visual, legend, and axis options).

Need @MichaelMarcialis' input on the terminology of these elastic-charts settings in the lens UI

Yeah, organization and naming of these options in the Elastic charts docs is interesting. I find it a bit confusing to have what I'd consider two separate options (tooltip visibility and crosshair type) lumped into a single setting. It took me a few seconds to understand on first use.

My first instinct for a Lens implementation would be to have a "Show tooltip" boolean switch (either on or off). If turned on, subsequent controls would be shown below to select a "Crosshair type" (with options to select vertical, horizontal, both, or none).

@ghudgins
Copy link
Contributor Author

ghudgins commented Jul 6, 2021

similar request here - https://discuss.elastic.co/t/kibana-lens/277807 - "show focused values" (instead of all values) from TSVB. likely need a separate issue to track showing only focused value. good one to review for any tooltip design updates as well

@drewdaemon drewdaemon added the impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. label Feb 9, 2023
@stratoula
Copy link
Contributor

Disabling the tootlip is something that is possible in aggBased visualization so I agree about adding this as a setting in Lens. About adding more tooltip modes I am not sure, @markov00 @gvnmagni wdyt?

@markov00
Copy link
Member

Adding the ability to visualize just the element hovered (aka Follow) or hide the tooltip on a chart is fine.
Probably I see the hiding more of a dashboard feature (for a read-only mode) than a per-chart configuration.
IMHO this is also a stylistic choice done when everything is implemented in the dashboard, at that level, you start working on perfecting the interaction modes, but this is again a minor request, and the cases described by Graham are actually making of context (I can't really figure it out when I will want a static visualization, how could I understood that the visualization is static and for what reason).

@stratoula stratoula added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed impact:needs-assessment Product and/or Engineering needs to evaluate the impact of the change. labels Jun 2, 2023
@markov00
Copy link
Member

In order to provide better transparency of priorities, issues that will not be prioritized within the next 24 months are being closed.

Tracking request in Lens general improvements ice box #184459

@markov00 markov00 closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Lens good first issue low hanging fruit 🧊 iceboxed impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

6 participants