Chart works from within the controller, but not from the view

Printable View