* @param {{ ctx: any; options: any; chart: any; }} config
(config)
| 9 | * @param {{ ctx: any; options: any; chart: any; }} config |
| 10 | */ |
| 11 | constructor(config) { |
| 12 | super(); |
| 13 | |
| 14 | this.chart = config.chart; |
| 15 | this.options = config.options; |
| 16 | this.ctx = config.ctx; |
| 17 | this._padding = undefined; |
| 18 | this.top = undefined; |
| 19 | this.bottom = undefined; |
| 20 | this.left = undefined; |
| 21 | this.right = undefined; |
| 22 | this.width = undefined; |
| 23 | this.height = undefined; |
| 24 | this.position = undefined; |
| 25 | this.weight = undefined; |
| 26 | this.fullSize = undefined; |
| 27 | } |
| 28 | |
| 29 | update(maxWidth, maxHeight) { |
| 30 | const opts = this.options; |
nothing calls this directly
no outgoing calls
no test coverage detected