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

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