Move chart generation to model