Added chart export functionality