function setY( y ) {
	/* eslint-disable no-invalid-this */
	if (
		!isArray( y ) &&
		!isTypedArray( y )
	) {
		throw new TypeError( format( 'invalid assignment. Must be an array or typed array. Value: `%s`.', y ) );
	}
	this._y = formatData( y, this._yValue );
}
Sets the second chart data.

@private
@param {(Array|TypedArray)} y - data
@throws {TypeError} must be an array or typed array