(axisClass, axis, position)
| 669 | } |
| 670 | |
| 671 | renderYAxisAt (axisClass, axis, position) { |
| 672 | let axisYG = this.g().select(`g.${axisClass}`); |
| 673 | if (axisYG.empty()) { |
| 674 | axisYG = this.g().append('g') |
| 675 | .attr('class', `axis ${axisClass}`) |
| 676 | .attr('transform', `translate(${position},${this.margins().top})`); |
| 677 | } |
| 678 | |
| 679 | transition(axisYG, this.transitionDuration(), this.transitionDelay()) |
| 680 | .attr('transform', `translate(${position},${this.margins().top})`) |
| 681 | .call(axis); |
| 682 | } |
| 683 | |
| 684 | renderYAxis () { |
| 685 | const axisPosition = this._useRightYAxis ? (this.width() - this.margins().right) : this._yAxisX(); |
no test coverage detected