Closed jhbrown-veradept closed 3 years ago
The default X position used by yTick puts the tick in the middle of the range. From the definition of yTick at https://github.com/terezka/elm-charts/blob/master/src/Chart.elm#L1305
yTick
{ x = CA.middle p.x , y = CA.zero p.y
I believe CA.middle and CA.zero should be switched -- as it is, they are identical to the corresponding lines in xTick
xTick
You are right! Thank you for noticing!
The default X position used by
yTick
puts the tick in the middle of the range. From the definition ofyTick
at https://github.com/terezka/elm-charts/blob/master/src/Chart.elm#L1305I believe CA.middle and CA.zero should be switched -- as it is, they are identical to the corresponding lines in
xTick