Now restrict DOM changes to the chart element.