Recreated the chart drawing function so it's object-oriented. Added a little bit of style just so it was not all white anymore.