fix chart in xml