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

[grid] support band scales. fixes #268 #282

Merged
merged 1 commit into from
Apr 28, 2018
Merged

[grid] support band scales. fixes #268 #282

merged 1 commit into from
Apr 28, 2018

Conversation

hshoff
Copy link
Member

@hshoff hshoff commented Apr 28, 2018

🚀 Enhancements

📝 Documentation

  • [demo] demo band scale grid on /barstack

screen shot 2018-04-28 at 6 22 43 pm

can also change the offset:

<Grid
  top={margin.top}
  left={margin.left}
  xScale={xScale}
  yScale={yScale}
  width={xMax}
  height={yMax}
  stroke={'black'}
  strokeOpacity={0.1}
  xOffset={(xScale.bandwidth() - xScale.step()) / 2}
/>

screen shot 2018-04-28 at 6 39 22 pm

@hshoff hshoff added this to the v0.0.162 milestone Apr 28, 2018
@hshoff hshoff merged commit 01b64c6 into master Apr 28, 2018
@hshoff hshoff deleted the harry-band-grid branch April 28, 2018 22:42
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.

linearBand doesn't play with GridColumn
1 participant