add gen chart data method to campaign controller
?refactor gen chart data