move chart to different file