Chart is drawing all the right squares

Highlighting still doesn’t work and the chart is upside-down… but its
main functionality works