[9.0] [ES|QL] [Lens] Display a keyword with the correct format in a metric visualization (#218233)#218934
Merged
kibanamachine merged 1 commit intoelastic:9.0from Apr 23, 2025
Conversation
…visualization (elastic#218233) ## Summary Fix elastic#203526 - Example 1: Before the fix, the value was formatted as a number (screenshot 1). After the fix, the value remains a string (screenshot 2). <img width="1506" alt="Screenshot 2025-04-15 at 1 26 26 PM" src="https://github.com/user-attachments/assets/74da3971-b4df-4602-a477-5f83ddade521" /> <img width="1495" alt="Screenshot 2025-04-15 at 1 29 37 PM" src="https://github.com/user-attachments/assets/6c0cb412-95c0-47de-9765-4c3eae4e2fa8" /> - Example 2: Before the fix (screenshot 3) and after the fix (screenshot 4) <img width="862" alt="Screenshot 2025-04-16 at 2 18 23 PM" src="https://github.com/user-attachments/assets/9eafe58f-edd7-43d6-97d1-2638f2f3e906" /> <img width="849" alt="Screenshot 2025-04-16 at 2 17 26 PM" src="https://github.com/user-attachments/assets/5a912305-22c2-43b2-a3b8-a412310785a7" /> ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 3c09bc4)
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.0:Questions ?
Please refer to the Backport tool documentation