Skip to content

Conversation

@zanona
Copy link

@zanona zanona commented Jun 16, 2020

At the moment <Grid direction={Grid.Direction.VERTICAL}/> doesn't render anything as it's referring to the points on the Y axis.
This change, updates both Horizontal and Vertical components so the ticks are related to their respective axis, and, at the same time, honours the numberOfTicks property by limiting it to ticks.length

@zanona zanona changed the base branch from master to dev June 16, 2020 15:46
At the moment `<Grid direction={Grid.Direction.VERTICAL}/>` doesn't render anything as it's referring to the points on the Y axis.
This change, updates both `Horizontal` and `Vertical` components so the ticks are based on their axis, but at the same time, respect the `numberOfTicks` property by limiting it to `ticks.length`
Copy link
Owner

@JesperLekland JesperLekland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I just need to test it before merging 👍

@mvanroon
Copy link

mvanroon commented Feb 16, 2021

ping @zanona @JesperLekland

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