()
| 464 | } |
| 465 | |
| 466 | fit() { |
| 467 | const opts = this.options; |
| 468 | |
| 469 | if (opts.display && opts.pointLabels.display) { |
| 470 | fitWithPointLabels(this); |
| 471 | } else { |
| 472 | this.setCenterPoint(0, 0, 0, 0); |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | setCenterPoint(leftMovement, rightMovement, topMovement, bottomMovement) { |
| 477 | this.xCenter += Math.floor((leftMovement - rightMovement) / 2); |
nothing calls this directly
no test coverage detected