set percent(percent) {
		if (isNaN(percent) || percent < 0 || percent > 1) {
			throw new RangeError('The percentage must be between 0 and 1.');
		}
		if (this._needle) { this._needle.update(percent); }
		this._percent = percent;
		this._update();
	}
/**
	* Sets the needle percent. The percent must be between 0 and 1.
	*
	* @param percent The percentage to set.
	*/
Sets the needle percent. The percent must be between 0 and 1.
@param percent The percentage to set.
Sets the needle percent . The percent must be between 0 and 1 . @param percent The percentage to set .
set percent(percent) {
		if (isNaN(percent) || percent < 0 || percent > 1) {
			throw new RangeError('The percentage must be between 0 and 1.');
		}
		if (this._needle) { this._needle.update(percent); }
		this._percent = percent;
		this._update();
	}
set percent ( percent ) { if ( isNaN ( percent ) || percent < 0 || percent > 1 ) { throw new RangeError ( 'The percentage must be between 0 and 1.' ) ; } if ( this . _needle ) { this . _needle . update ( percent ) ; } this . _percent = percent ; this . _update ( ) ; }
Sets the needle percent.
Sets the needle percent .