elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.12k forks source link

[Lens] Allow extra metrics in the tooltip #106024

Open wylieconlon opened 3 years ago

wylieconlon commented 3 years ago

This is a feature that is already supported in the Maps application, and it was one of the "future wish list" items from the original Lens requirements list:

Tooltips - the ability to add more fields which will be shown in the visualization tooltip

This feature idea is especially relevant now that we support formulas in Lens. For example, I've just put together a sample visualization which is representing "% of target", but what if I want to show both the percent and the original value? It would be ideal if I could add the original value to the tooltip.

Screen Shot 2021-07-16 at 4 28 59 PM

A related feature is adding a color dimension

elasticmachine commented 3 years ago

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

stratoula commented 2 years ago

Another request for adding extra metrics to the tooltip https://discuss.elastic.co/t/kibana-visualization/292859/2

drewpost commented 1 year ago

@ninoslavmiskovic - This has come up as a massive blocker for us with the new Synthetics app we're building. Our desire is that every chart is built off of lens to enable click throughs, open in exploratory view, add to dashboards etc. Without this capability, we're not able to build virtually any of our UI.

cc @shahzad31 @paulb-elastic

shahzad31 commented 1 year ago

@ninoslavmiskovic has there been any progress on this on the roadmap?

stratoula commented 1 year ago

@shahzad31 we are thinking of supporting elastic charts configuration that are only supported on the emebeddable level (for example hiding the axis) so we could also support this like that for now and later think how to also support it on the editor. In 8.8 we want to think on how to accomplish the above so I hope we are going to have more news on that soonish.

tgraham-impinj commented 1 year ago

Another request for adding additional metrics to the tooltips (for reference)

shahzad31 commented 1 year ago

let's hope some progress can be made on this. we are also pushing internally to get this done.

shahzad31 commented 8 months ago

@stratoula is there any activity planned for this?

stratoula commented 8 months ago

Not in the upcoming future @shahzad31 unfortunately. With all the ES|QL stuff in the roadmap we havent found time for this. cc @ninoslavmiskovic @timductive

MichaelMarcialis commented 1 month ago

@teresaalvarezsoler: Way back when we were making design explorations for the Lens annotation feature, we had pitched the idea of allowing users to to add customizable information into their annotation tooltips (including the ability to perform formula-like aggregations to show those values in the tooltip). Would these concepts be relevant here?

CleanShot 2024-08-14 at 16 47 07

If I'm recalling correctly, we were originally planning for a stricter approach of simply asking users for a list of fields/aggregations, but we got some feedback from Observability that a more freeform approach would be more valuable for their use case.

CCing @gvnmagni, as this involves visualization tooltips.

teresaalvarezsoler commented 1 month ago

Thanks @MichaelMarcialis, by reading the user requests I think the key information would be new fields and aggregations while the text is a nice to have so we can simplify these mockups.