Background
Due to PR #34, PureChart finally supports line graphs! However, they are too simple to be used practically. Since points and lines are now being rendered, the next step is to draw labeled x- and y-axes.
Goal
Add axes to the line graph using the image below for guidance. The method you'll be working on is line_graph in lib/purechart/chart_helper.rb.
You may use either HTML/CSS or SVG code to accomplish this. Make sure to check the way axes are rendered for lollipop charts before getting started - it may help. Good luck!
Background
Due to PR #34, PureChart finally supports line graphs! However, they are too simple to be used practically. Since points and lines are now being rendered, the next step is to draw labeled x- and y-axes.
Goal
Add axes to the line graph using the image below for guidance. The method you'll be working on is
line_graphinlib/purechart/chart_helper.rb.You may use either HTML/CSS or SVG code to accomplish this. Make sure to check the way axes are rendered for lollipop charts before getting started - it may help. Good luck!