get chart data from controller with json, delete gon