Adding functionality to change the properties of charts.