-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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] Metric Vis 8.5 Follow-ups #137769
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
I know this one seems trivial, but we may only be able to support part of this ask. The good news is that it is easy to give the prefix a helpful initial value based on the dimension name. However, keeping it in sync whenever the dimension name changes is not currently possible because of a boundary in the code between the visualization and the datasource classes. I.e. there's currently no way for the visualization (which handles the prefix) to know when a dimension name has changed (happens in the datasource). We could consider strengthening the communication channel between datasource and visualization to support something like this, but there may be architectural drawbacks to associating them more closely. Any thoughts @flash1293 ? |
@andrewctate We have a similar kind of problem with the axis names in xy - the way it's solved is the following:
This way the visualizaiton doesn't have to store the default dimension name in its own state |
I had the chance to talk with @markov00 about empty tiles and title+subtitle for panels (when we have a break-down-by). I'm posting here a couple of images as an example but I wanted to mention that he will probably reach out to align details between Lens and Charts |
@gvnmagni I'm not sure I fully get how empty tiles are handled - if there are multiple empty tiles will they all be rendered with the black line in the bottom right? Like for the case with a fully empty 3x2 grid |
Yes exactly, each empty tile would have that little line suggesting that there should be something but given the filters (or any other reason) we don't have it. We can see a difference with the last couple of tiles into the image that has no border, this case is when we have a 5x3 grid but we only show top 13 values and we obtain empty space that would never be filled, it's not a matter of filters |
Makes sense, thanks! |
@ghudgins we wanted to consult you before committing to this course of action. The idea is that showing the infinity symbol in the context of a single-value metric visualization is more clear than "Max value" and "Min value." WDYT? Same discussion back in January: #123756 (comment) |
sounds good - sorry for the delay |
All done! |
NaN
instead ofnull
as value when no data. (see Metric vis typing forbid null values but they are handled all the same elastic-charts#1779)lnsLegacyMetric
andlnsNewMetric
tolnsMetric
— [Lens] migrate metric visualization IDs #139251The text was updated successfully, but these errors were encountered: