mhkeller/layercake

yTick in AxisY.svelte changes position of marks and gridlines

Closed this issue · 2 comments

It seems like the prop yTick in AxisY.svelte changes position of marks and gridlines, not just the text/ label. Is this the intended behaviour? I'm thinking that it shouldn't be, as it compromises the accuracy of the resulting chart.

(I didn't check the matching X axis component, or the HTML equivalents, so the behaviour might be similar in those places as well.)

Good catch! I added that prop as a convenience / escape hatch so have never set it to anything other than 0. It looks like it is just that one component, fixed via: bca0ba2

If you spot anything else let me know!

Thanks for the quick response!