Chart output in the reporting function