()
| 371 | } |
| 372 | |
| 373 | get_label_transform() { |
| 374 | if (this.vertical) { |
| 375 | return ( |
| 376 | 'translate(' + |
| 377 | (this.side === 'right' ? this.bar_height / 2 : -this.bar_height / 2) + |
| 378 | ', ' + |
| 379 | (this.x_offset - 15) + |
| 380 | ')' |
| 381 | ); |
| 382 | } |
| 383 | return ( |
| 384 | 'translate(' + (this.x_offset - 5) + ', ' + this.bar_height / 2 + ')' |
| 385 | ); |
| 386 | } |
| 387 | |
| 388 | get_colorbar_transform() { |
| 389 | if (this.vertical) { |
no outgoing calls
no test coverage detected