Liferay.Loader.define("data-engine-js-components-web@1.0.89/js/custom/form-report/components/chart/bar/CustomizedAxisTick",["module","exports","require","liferay!frontend-js-react-web$react","frontend-js-recharts$recharts","../../../utils/ellipsize"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function CustomizedAxisTick({payload:t,ticksNumber:r,x:u,y:c}){return a.default.createElement(i.Text,{textAnchor:"middle",verticalAnchor:"start",width:o-r*s,x:u,y:c},t.value.length>e&&r>l?(0,n.default)(t.value,minimize(r)):t.value)};var a=_interopRequireDefault(r("liferay!frontend-js-react-web$react")),i=r("frontend-js-recharts$recharts"),n=_interopRequireDefault(r("../../../utils/ellipsize"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e=34,o=220,u=5,l=2,s=17,minimize=t=>t>u?e/Math.log(t):e}}));
//# sourceMappingURL=CustomizedAxisTick.js.map