Added chart generation