-
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
feat(axis): add visibility to tick style #374
Conversation
Add visibility propterty to tickLineStyle in Theme. (default: false) BREAKING CHANGE: `theme.axes.tickLineStyle.visible` is now required (default base is false) closes elastic#330
Codecov Report
@@ Coverage Diff @@
## master #374 +/- ##
=======================================
Coverage 98.27% 98.27%
=======================================
Files 38 38
Lines 2784 2784
Branches 657 657
=======================================
Hits 2736 2736
Misses 44 44
Partials 4 4
Continue to review full report at Codecov.
|
Can we have the default visibility to true, and change the default to false when we are going to implement a better default style? |
@markov00 I set the default to false as that is the style EUI is suggesting. Are you saying to set the default to true and then convert to false later? |
Yes, I would like to have a single PR that adjust the default theme to a better one. For example in this case hide the ticks but also reduce the tick size to 0 for example. Together with some better defaults of style for the axis colors, grid style, line annotations etc |
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.
Seems that you have rebased on top of an older version of master because the changes remove part of the fixes on current master.
package.json
Outdated
@@ -1,7 +1,7 @@ | |||
{ | |||
"name": "@elastic/charts", | |||
"description": "Elastic-Charts data visualization library", | |||
"version": "12.0.2", | |||
"version": "12.0.0", |
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.
we cannot go back
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.
Sorry I didn't see that, must have been a bad merge. Fix in 6eda1fa
CHANGELOG.md
Outdated
### Bug Fixes | ||
|
||
* **theme:** fix grid position check ([#373](https://github.com/elastic/elastic-charts/issues/373)) ([af4805f](https://github.com/elastic/elastic-charts/commit/af4805f)), closes [#372](https://github.com/elastic/elastic-charts/issues/372) | ||
|
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.
Why does 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.
Fix in 6eda1fa
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.
Code LGTM
jenkins, test this please |
🎉 This PR is included in version 13.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [13.0.0](elastic/elastic-charts@v12.1.0...v13.0.0) (2019-09-19) ### Features * **axis:** add visibility to tick style ([opensearch-project#374](elastic/elastic-charts#374)) ([29e9e1e](elastic/elastic-charts@29e9e1e)), closes [opensearch-project#330](elastic/elastic-charts#330) ### BREAKING CHANGES * **axis:** `theme.axes.tickLineStyle.visible` is now required (default base is false)
Summary
Add visibility property to
tickLineStyle
inTheme
.BREAKING CHANGE:
theme.axes.tickLineStyle.visible
is now required (default base isfalse
)closes #330
Checklist