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] Support metric vis title #137770

Closed
Tracked by #1928
drewdaemon opened this issue Aug 1, 2022 · 11 comments
Closed
Tracked by #1928

[Lens] Support metric vis title #137770

drewdaemon opened this issue Aug 1, 2022 · 11 comments
Labels
Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@drewdaemon
Copy link
Contributor

drewdaemon commented Aug 1, 2022

Describe the feature:
We would like to give users the ability to set a title for an entire metric vis.

This title will be displayed from within the metric visualization itself but we may give users the option to configure this title from both the dashboard and the Lens editor.

Describe a specific use case for the feature:
A visualization such as this would benefit from having an informative title to orient the user to the meaning of the two-letter labels.

Screen Shot 2022-08-01 at 1 58 59 PM

@elastic/charts related issue
elastic/elastic-charts#1862

@drewdaemon drewdaemon added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens Team:DataVis Team label for DataVis Team labels Aug 1, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/datavis (Team:DataVis)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@drewdaemon drewdaemon changed the title Support metric vis title [Lens] Support metric vis title Aug 1, 2022
@drewdaemon
Copy link
Contributor Author

Another option we discussed was simply to hide the panel title by default, but allow the user to set a title at the dashboard level all the same.

cc: @ghudgins

@philippkahr
Copy link
Contributor

Any update on this? Seems weird that every panel supports a title but the new metric visualisation doesn't.

@flash1293
Copy link
Contributor

@markov00 @gvnmagni is there anything merged on elastic-charts side for this yet?

@stratoula stratoula added Feature:ElasticCharts Issues related to the elastic-charts library and removed Team:DataVis Team label for DataVis Team labels Nov 4, 2022
@markov00
Copy link
Member

markov00 commented Nov 8, 2022

Not yet but we can add this in our roadmap

@drewdaemon
Copy link
Contributor Author

Relevant discussion with a user who is setting the primary metric dimension name to a ' ' to hide it #145308 (comment)

@ThomThomson
Copy link
Contributor

I'm curious why we don't look towards using the existing Dashboard titling function, and just updating the styling of it to match?

@gvnmagni
Copy link

Your point is very valid @ThomThomson. I believe there is also a wider discussion around the fact that the tile should be part of shouldn't be part of the chart and therefore available and editable in Lens. I'm not sure of the technicality behind this but I'm afraid we have to consider that as well

@markov00
Copy link
Member

markov00 commented Dec 13, 2022

More than a technical problem is mostly a design concern: we have the hope that we can nicely align titles across charts, but each chart could have some small differences in how a title is rendered: some titles could be limited in width by some icons/text represented on the right side, in others, we can limit the number of rows a title can be rendered in others we allow subtitles, etc.
In practice, the title is not just a stratification of a text block on top of a chart block, but the title becomes part of the visualization too.

Consider also that, in the near future, we are interested in bringing more info into the title, like dynamic titles (where we can reuse chart colors, and values to improve the title and reduce the use of axis titles) and we like to share these capabilities as part of the embeddable/Lens visualization and not a Dashboard only feature.

@stratoula
Copy link
Contributor

Closing this in favor of #149675

We are going to support it for all Lens charts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:ElasticCharts Issues related to the elastic-charts library Feature:Lens impact:medium Addressing this issue will have a medium 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

8 participants