scaleBand w/ dates doesn't plot over entire range #1216
-
I've created a minimal example here. I have two data points with dates + int values. Dates are plotted against the x and ints against the y. The issue is that y values are cut in half relative to the range. when I use 3 data points, they're cut by 1/3. I'm sure this is a misunderstanding of how to set things up on my part, but I'm pretty stuck. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hey @nvolungis thanks for checking out |
Beta Was this translation helpful? Give feedback.
-
Hey @williaster. I updated the comment with this link here https://codesandbox.io/s/optimistic-architecture-bgkhc. Thanks for looking! |
Beta Was this translation helpful? Give feedback.
-
Thanks! I converted this to a discussion since it's a usage question not a
As for y-values, I'm not sure if the "cut in half" refers to the fact that you're not including zero in the domain. if you set here's the sandbox. |
Beta Was this translation helpful? Give feedback.
Thanks! I converted this to a discussion since it's a usage question not a
visx
issue. I'm not 100% sure I follow what you mean by "y values are cut in half ... cut by 1/3" but I tried to update the sandbox to make it more clear what's happening. what I did: