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] Enable custom prefix and suffix for Y axis range values #88402

Closed
bradquarry opened this issue Jan 14, 2021 · 5 comments · Fixed by #128246
Closed

[Lens] Enable custom prefix and suffix for Y axis range values #88402

bradquarry opened this issue Jan 14, 2021 · 5 comments · Fixed by #128246
Assignees
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@bradquarry
Copy link

Today in Time Series Visual Builder you can add custom fixed values to the Y axis range values of a chart. This allows dashboard chart data to be more relatable. Lots of customers use this all over dashboards today and I'm sure would like to see it in lens. I have attached screenshots showing how TSVB annotated the negative values of the Y axis using a data formatter panel and adding {{value}} dBM.

Screen Shot 2021-01-14 at 3 20 11 PM

Screen Shot 2021-01-14 at 3 26 51 PM

@bradquarry bradquarry added Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 14, 2021
@elasticmachine
Copy link
Contributor

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

@wylieconlon
Copy link
Contributor

More general issue for doing this across Kibana: #8984

@ghudgins
Copy link

+1

This is great, however i’d love a way to replace the unit being used in Lens via formula. I have a bytes field that is actually bps but len forces me to use MB instead of Mbps.

@ghudgins
Copy link

ghudgins commented Dec 1, 2021

a big +1 from a metrics customer

this is the most important wish on our list of enhancements

@stratoula stratoula assigned stratoula and unassigned stratoula Mar 10, 2022
@flash1293
Copy link
Contributor

This can use the existing suffix formatter:

return class SuffixFormatter extends FieldFormat {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Lens Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants