Add chart generation.