function prepareSize(sSize) {
		if (!sSize) {
			return Size.Responsive;
		}

		if (typeof sSize !== "string") {
			return BindingHelper.reuse(sSize);
		}

		const bIsValid = sSize === Size.S || sSize === Size.Responsive;

		if (!bIsValid) {
			Log.error("The value for size is not correct. Only size 'S' and 'Responsive' are supported. Given '" + sSize + "'.", "sap.ui.integration.controls.Microchart");
			return Size.Responsive;
		}

		return sSize;
	}
Prepares and validates the size for chart. Only size <code>S</code> and <code>Responsive</code> are allowed.
If size is invalid - method fallbacks to size <code>Responsive</code>.
@param {string} sSize The size.
@returns {string} The validated size.