add template to generate column chart.