Fixing up the model passed into the view; adding some setters and getters; destroying chart before displaying new one