a template for rCharts