RF-13698: Fixed the chart template to invoke the chart script on the chart sub-div, rather than on the chart-container itself