How to create a report in chart format