client/splunk.ui.charting.js
function (x, y, width, height) {
		var wrapper,
			id = PREFIX + idCounter++,

			clipPath = this.createElement('clipPath').attr({
				id: id
			}).add(this.defs);

		wrapper = this.rect(x, y, width, height, 0).add(clipPath);
		wrapper.id = id;
		wrapper.clipPath = clipPath;

		return wrapper;
	}
function (x, y, width, height) {
		var wrapper,
			id = PREFIX + idCounter++,

			clipPath = this.createElement('clipPath').attr({
				id: id
			}).add(this.defs);

		wrapper = this.rect(x, y, width, height, 0).add(clipPath);
		wrapper.id = id;
		wrapper.clipPath = clipPath;

		return wrapper;
	}
function ( x , y , width , height ) { var wrapper , id = PREFIX + idCounter ++ , clipPath = this . createElement ( 'clipPath' ) . attr ( { id : id } ) . add ( this . defs ) ; wrapper = this . rect ( x , y , width , height , 0 ) . add ( clipPath ) ; wrapper . id = id ; wrapper . clipPath = clipPath ; return wrapper ; }
Define a clipping rectangle
@param {String} id
@param {Number} x
@param {Number} y
@param {Number} width
@param {Number} height
Define a clipping rectangle