update chartForPercent.prototype.reset fuction