Keep the chart configs dynamic in Chart Template