-
Notifications
You must be signed in to change notification settings - Fork 834
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
tickSizeInner should be tickSizeOuter and vice versa. #277
Conversation
… reference point. The old version had it inverted. Updated the complex-chart example to show that the changes work.
src/styles/examples.scss
Outdated
@@ -158,6 +158,9 @@ article { | |||
|
|||
.chart { | |||
margin-right: 200px; | |||
& .rv-xy-plot__axis__tick__line { | |||
stroke: #6b6b76; |
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.
nits:
- i dont think you need the &
- can you use a scss variable instead for the hex value?
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 for doing this!
Can you also add some notes in the docs about this? |
<XAxis className="even-cooler-custom-name"/> | ||
<YAxis | ||
className="cool-custom-name" | ||
tickSizeInner={ 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.
Could you please remove the spacing between the brackets?
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.
too late. You don't like the clarity this gives?
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.
Fixed on master. Consistency is my issue
…d tickSizeOuter applies to.
* tickSizeInner should be tickSizeOuter and vice versa. The plot is the reference point. The old version had it inverted. Updated the complex-chart example to show that the changes work. * Address Andrew's comments - use existing scss variable for line color. * Update docs/xy-plot.md indicating correction of what tickSizeInner and tickSizeOuter applies to.
* tickSizeInner should be tickSizeOuter and vice versa. The plot is the reference point. The old version had it inverted. Updated the complex-chart example to show that the changes work. * Address Andrew's comments - use existing scss variable for line color. * Update docs/xy-plot.md indicating correction of what tickSizeInner and tickSizeOuter applies to.
* tickSizeInner should be tickSizeOuter and vice versa. The plot is the reference point. The old version had it inverted. Updated the complex-chart example to show that the changes work. * Address Andrew's comments - use existing scss variable for line color. * Update docs/xy-plot.md indicating correction of what tickSizeInner and tickSizeOuter applies to.
* tickSizeInner should be tickSizeOuter and vice versa. The plot is the reference point. The old version had it inverted. Updated the complex-chart example to show that the changes work. * Address Andrew's comments - use existing scss variable for line color. * Update docs/xy-plot.md indicating correction of what tickSizeInner and tickSizeOuter applies to.
The plot is the reference point. The old version had it inverted.
Updated the complex-chart example to show that the changes work.
Attached image shows the example with outTicks of size 8.