Change chart config