Pass canvas id as an argument to the view.