-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Per visualization field formatters #4957
Comments
You can change this on a per field basis using field formatters, but not per-visualization, updating issue title |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
In order to achieve this, I have created a visualization (github.com/JuanCarniglia/kbn_picture_values_vis) that allows adjusting format (using numeral.js patterns) for each metric value, and also allows displaying a fontAwesome icon next to the value. Both the color of the value and the picture can change, according to a range the falls into. (i.e. From 0 to 50 RED, 50 to 100 green). You think it would be nice to create a PR and add this to the metrics vis? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
5 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
Agree. Sometimes we count the average (e.g. requests per minute) and it's not possible to set the format on the field since there is no field - documents are counted. If we want out visualization to display |
This comment has been minimized.
This comment has been minimized.
While it doesn't address the oldest part of this request, we will soon have this feature in Lens. #56253 |
This has been adressed in Lens and released in 7.7, thus closing this. |
I have a bar chart visualization that uses the Date Range aggregation. Each range spans 1 hour. I want the corresponding x-axis labels to look like this: "9am to 10am". I can do that by changing the value of the ("global") Kibana
dateFormat
setting toha
(from its default ofMMMM Do YYYY, HH:mm:ss.SSS
), but that affects all "pretty formatted dates" in Kibana, which is undesirable.I want to specify
dateFormat
per visualization, to override the "global" setting.I decided to create this issue after I replied to the related existing discussion thread "How can i change the x-axis labels for a date format in Kibana".
The text was updated successfully, but these errors were encountered: