modify chart