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 |
markov00
left a comment
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Sorry I didn't see that, must have been a bad merge. Fix in 6eda1fa
CHANGELOG.md
Outdated
|
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
tickLineStyleinTheme.BREAKING CHANGE:
theme.axes.tickLineStyle.visibleis now required (default base isfalse)closes #330
Checklist