-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Switch to unified metric renderer #123797
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@flash1293, As I see unified metric renderer has already supported coloring background / number via provided palette. One difference from Lens that in Lens background color appling for all container, but in
|
@VladLasitsa good point
|
That next question: For now we don't have possibility to configure label font. The provided font arg only affects metric. Should we add something like |
Having a font arg for the label sounds like the cleanest way to me, but it's more relevant for Canvas than anything else. @crob611 what do you think? |
Consider also this approach from @shahzad31 for font size : #124124 |
@dej611, @flash1293 I think we should add |
I think it's better to stick with the "regular" way of specifying font like @VladLasitsa suggests as it's exposed in other places in Canvas already.
I like this suggestion |
Lens should use the unified metric renderer as well. To make this possible, some additional functionality has to be added to the unified renderer:
metric
arg - blocked by [Expression] Problem with formatting when we usevis_dimension
type as arg #125797The text was updated successfully, but these errors were encountered: