(maxWidth, maxHeight, margins)
| 80 | } |
| 81 | |
| 82 | update(maxWidth, maxHeight, margins) { |
| 83 | this.maxWidth = maxWidth; |
| 84 | this.maxHeight = maxHeight; |
| 85 | this._margins = margins; |
| 86 | |
| 87 | this.setDimensions(); |
| 88 | this.buildLabels(); |
| 89 | this.fit(); |
| 90 | } |
| 91 | |
| 92 | setDimensions() { |
| 93 | if (this.isHorizontal()) { |
nothing calls this directly
no test coverage detected