* Determines the value of the text-anchor CSS attribute * @param d - Data point * @param i - Index number
(d: BarGroupValue)
| 654 | * @param i - Index number |
| 655 | */ |
| 656 | private styleBarLabelTextAnchor(d: BarGroupValue): string { |
| 657 | if (this.orientation === 'horizontal') { |
| 658 | return d.y <= this.baseLine ? 'start' : 'end'; |
| 659 | } else { |
| 660 | return 'middle'; |
| 661 | } |
| 662 | } |
| 663 | |
| 664 | /** |
| 665 | * Determines the value of the dominant-base-line CSS attribute |
no outgoing calls
no test coverage detected