(value, elOption, layoutInfo, axisModel, axisPointerModel, api)
| 72808 | return applyTransform$1([axis.dataToCoord(value), (layoutInfo.labelOffset || 0) + (layoutInfo.labelDirection || 1) * (layoutInfo.labelMargin || 0)], transform); |
| 72809 | } |
| 72810 | function buildCartesianSingleLabelElOption(value, elOption, layoutInfo, axisModel, axisPointerModel, api) { |
| 72811 | // @ts-ignore |
| 72812 | var textLayout = AxisBuilder.innerTextLayout(layoutInfo.rotation, 0, layoutInfo.labelDirection); |
| 72813 | layoutInfo.labelMargin = axisPointerModel.get(['label', 'margin']); |
| 72814 | buildLabelElOption(elOption, axisModel, axisPointerModel, api, { |
| 72815 | position: getTransformedPosition(axisModel.axis, value, layoutInfo), |
| 72816 | align: textLayout.textAlign, |
| 72817 | verticalAlign: textLayout.textVerticalAlign |
| 72818 | }); |
| 72819 | } |
| 72820 | function makeLineShape(p1, p2, xDimIndex) { |
| 72821 | xDimIndex = xDimIndex || 0; |
| 72822 | return { |
no test coverage detected
searching dependent graphs…