fix grid drawing, fix info box for line chart. TODO: refactor bar chart