Skip to content
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

Merged
merged 3 commits into from
Feb 20, 2017
Merged

tickSizeInner should be tickSizeOuter and vice versa. #277

merged 3 commits into from
Feb 20, 2017

Conversation

alee8
Copy link
Contributor

@alee8 alee8 commented Feb 20, 2017

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.
pr179

… reference point. The old version had it inverted. Updated the complex-chart example to show that the changes work.
@@ -158,6 +158,9 @@ article {

.chart {
margin-right: 200px;
& .rv-xy-plot__axis__tick__line {
stroke: #6b6b76;
Copy link
Contributor

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?

Copy link
Contributor

@mcnuttandrew mcnuttandrew left a 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!

@mcnuttandrew
Copy link
Contributor

Can you also add some notes in the docs about this?

<XAxis className="even-cooler-custom-name"/>
<YAxis
className="cool-custom-name"
tickSizeInner={ 0 }
Copy link
Contributor

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?

Copy link
Contributor Author

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?

Copy link
Contributor

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

@alee8 alee8 merged commit e23bf04 into master Feb 20, 2017
mcnuttandrew pushed a commit to mcnuttandrew/react-vis that referenced this pull request Feb 20, 2017
* 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.
mcnuttandrew pushed a commit to mcnuttandrew/react-vis that referenced this pull request Mar 20, 2017
* 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.
@jonsadka jonsadka deleted the pr179 branch March 27, 2017 19:59
ayarcohaila pushed a commit to ayarcohaila/react-vis that referenced this pull request Jun 30, 2021
* 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.
ayarcohaila added a commit to ayarcohaila/react-vis that referenced this pull request May 30, 2023
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants