fix setChart