(rect: RectModel, centerYAxis?: CenterYAxisData)
| 736 | } |
| 737 | |
| 738 | makeDataLabel(rect: RectModel, centerYAxis?: CenterYAxisData): RectDataLabel { |
| 739 | const { dataLabels } = this.theme; |
| 740 | |
| 741 | return { |
| 742 | ...rect, |
| 743 | direction: this.getDataLabelDirection(rect, centerYAxis), |
| 744 | plot: { x: 0, y: 0, size: this.getOffsetSize() }, |
| 745 | theme: { |
| 746 | ...omit(dataLabels, 'stackTotal'), |
| 747 | color: dataLabels.useSeriesColor ? rect.color : dataLabels.color, |
| 748 | }, |
| 749 | }; |
| 750 | } |
| 751 | |
| 752 | makeDataLabelRangeData(rect: RectModel): RectDataLabel[] { |
| 753 | const { dataLabels } = this.theme; |
no test coverage detected