modify chart object