-
Notifications
You must be signed in to change notification settings - Fork 121
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
Elastic-charts on non-white backgrounds #249
Comments
Good catch. I've seen this behaviour and we will for sure fix that.
|
The overflow gradient is created via a SASS mixin and can take any color to replace the white. However, @flash1293 I'm guessing that your screenshot is more of a "temporary" background color for the chart? Meaning, that looks like the droppable area background highlight when dragging an item. I don't know what the best approach should be for a highlighted background versus a theme selected background color. As for the padding around the chart, this should be left to the consumer. Either by supplying them with a top level prop on |
You are right @cchaos, this is about dynamic background colors. I agree with your comment regarding padding. |
@flash1293 Good idea with the |
@markov00 The fix will be released with eui 12.3.0 elastic/eui#2088 Can we close this issue? |
@flash1293 I've created a PR to fix that issue, it's on review |
EUI and storybook v5 are updated to their latest versions. The commit also fix the an issue with coloured background and the legend. fix #249
🎉 This issue has been resolved in version 8.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [8.1.3](elastic/elastic-charts@v8.1.2...v8.1.3) (2019-07-30) ### Bug Fixes * update EUI, storybook and add autoprefixer ([opensearch-project#267](elastic/elastic-charts#267)) ([b2b8f47](elastic/elastic-charts@b2b8f47)), closes [opensearch-project#249](elastic/elastic-charts#249)
Is your feature request related to a problem? Please describe.
Currently elastic-charts renders under the assumption of having a full white (
#fff
) background. If this isn't the case, there are some minor UI issues:Describe the solution you'd like
.echContainer
(This could also be done on the consumer side, but it's probably a nice default)Describe alternatives you've considered
Having a full white background, which works in this specific case, but it would be nice to even out these cases.
Checklist
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: