Excel charts can be added in Template layout which are visible in the Excel report. It is very useful as charts are often used in Excel reports to display graphical data. Along with that, it provides an advantage that the final chart will always be updated with the latest data, when the template is processed.
The Excel charts are bound with template cells by specifying the series name, series value and axis labels in the template layout. While processing the template layout, the chart is bound to the data, and the Excel report is generated with the chart displaying final data. A chart can be placed in a worksheet with its data or in another worksheet too.
Follow the steps mentioned below to add chart in a template layout and configure its data to template cells:
Here we are adding a chart to a 'Quarterly Sales Data' report which displays the sales of electronic goods in different areas of North and South America. The chart in the template configures the name of an electronic item as series name, revenue as series value and the city in which sales have been done as axis labels to display the sales data in a graphical manner.
You can also download the Excel template layout used in below example.
After processing the template layout, the Excel report will look like below.