Make use of Controller::set(compact('chartName')) to reliably pass chartName to view