-
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] Pie/Treemap chart external labels are hard to read when in dark mode #116777
Comments
Pinging @elastic/kibana-vis-editors (Team:VisEditors) |
Apparently the EC library already supports this, so it requires some configuration tweak in the current Lens implementation. |
After some investigations, found a few blocking issue on Canvas and Elastic Charts sides:
|
Not blocked anymore - reducing impact because it works correctly in most places now |
Pinging @elastic/kibana-presentation (Team:Presentation) |
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@elastic/kibana-presentation How do you think this should be fixed for the Canvas case? Should there be a "on dark background" flag on the the Blocked on presentation team decision how Canvas wants to handle this case (manually by user selection or somehow automatically) |
I also ran into this issue and would be great if I could use lens in dark mode! |
Bumping this - @ThomThomson do you think it's worth putting this on the near term roadmap from the presentation team side of things? |
Hey @flash1293! @teresaalvarezsoler can correct me if I'm wrong, but we aren't focused on any enhancement requests in Canvas for the near-term. We are only doing maintenance work and major bug fixes. That said, I would say the best course of action is to just have these labels infer their color solely based on The most canvas thing to do here would be to allow the color of those external labels to be user-configurable by exposing |
Makes sense, happy with parking this for now |
Thanks Joe, we will consider this for the future. As Devon said, we are not prioritizing Canvas enhancements for now. |
@elastic/kibana-visualizations, I'm removing the Presentation team label from this because I don't believe we'll be able to prioritize this change in Canvas. Going to leave it open though, because it seems like it might be a problem with Lens more generally as well? Feel free to close if it's been resolved on that side. |
I verified this is no longer an issue for Lens and Aggs-based pie charts after elastic/elastic-charts#1402 was introduced. The issue would still remain if charts consumers elsewhere in kibana do to not apply a There is a separate issue elastic/elastic-charts#718, that could be the solution for fixing this across all chart usage in kibana but this is not a high priority at the moment. |
Describe the bug:
Labels on the outside are of the slice (pie) or box (treemap) are pretty hard to read when kibana is in dark mode:
The color should automatically adjust based on the theme.
The text was updated successfully, but these errors were encountered: