add template for charting