-
Notifications
You must be signed in to change notification settings - Fork 842
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
Update elastic charts to 20.0.2 #3792
Conversation
- update `createTheme` function with theme changes - add `@elastic/charts` under `optionalDependencies`
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cchaos thoughts on marking this as a breaking change, as the EUI theme configuration would be invalid for previous chart versions?
To be clear, these changes would not throw any errors with respect to the chart, but the styling would be different until these changes are added to kibana. I was hoping to upgrade eui and ec together in the same pr on kibana but I noticed eui is a major version ahead and not sure when y'all plan to upgrade eui in kibana to the latest version. |
Strictly, it's a breaking change. A weird here because the chart theming isn't our main published package. I'd lead toward breaking, tho, as it is more accurate. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
@cchaos yes that is fixed in this version. The new padding layout more customizable. The padding layout is now as follows for a left-side axis and is analogous for other sides (i.e. mirrored or rotated) Each of the colors are tied together in terms of visibility. So if the label visibility is set to false, the label and all associated padding is removed with it. |
Sorry I thought you were referring to the |
Thanks, @nickofthyme. Can you resolve the conflicts on this PR? Then I'll throw you a commit that'll fix the "Sizing" example. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM, though I guess we also need a Breaking change changelog item specifying the upgrade in dependency
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3792/ |
@chandlerprall are you ok with these changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nickofthyme !
- update `@elastic/charts` to version `20.0.2` - update `createTheme` function with theme changes
Summary
createTheme
function with theme changes@elastic/charts
underoptionalDependencies
The charts
Theme
now allows forinner
andouter
padding of axis title and labels. As well as tick visibility which now removes tick line padding as well.@cchaos feel free to change any of the styles to your liking.
Before
After
Checklist