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] Gauge visualization is not respecting default field formatter #179439

Closed
dej611 opened this issue Mar 26, 2024 · 2 comments · Fixed by #179473
Closed

[Lens] Gauge visualization is not respecting default field formatter #179439

dej611 opened this issue Mar 26, 2024 · 2 comments · Fixed by #179473
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Gauge Vis Gauge and goal visualization Feature:Lens 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

@dej611
Copy link
Contributor

dej611 commented Mar 26, 2024

Kibana version: 8.14

Describe the bug:

The default field formatter is not correctly inherited by the gauge rendering code, hence unless a specific formatter is configured at visualization level, the raw value is displayed.

Steps to reproduce:

  1. Configure a Bytes field formatter for the bytes field in the logs sample data
  2. Create a gauge visualization in Lens using Average of bytes metric

Expected behavior:

Value and tick values are expressed using the field formatter.

Screenshots (if relevant):

Field formatter

Screenshot 2024-03-26 at 15 22 18

Default formatter used in Lens

Screenshot 2024-03-26 at 15 24 00

Forcing a visualization formatter

Screenshot 2024-03-26 at 15 23 51
@dej611 dej611 added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. labels Mar 26, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@nickofthyme
Copy link
Contributor

Same issue with the new Bullet implementation. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Gauge Vis Gauge and goal visualization Feature:Lens 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

Successfully merging a pull request may close this issue.

4 participants