(id?: HttpgdPlotId)
| 568 | } |
| 569 | |
| 570 | protected async resizePlot(id?: HttpgdPlotId): Promise<void> { |
| 571 | id ??= this.activePlot; |
| 572 | if (!id) { return; } |
| 573 | const plt = await this.getPlotContent(id, this.viewWidth, this.viewHeight, this.zoom); |
| 574 | this.plotWidth = plt.width; |
| 575 | this.plotHeight = plt.height; |
| 576 | this.updatePlot(plt); |
| 577 | } |
| 578 | |
| 579 | protected async refreshPlotsDelayed(plotsIdResponse: HttpgdIdResponse[], redraw: boolean = false, force: boolean = false): Promise<void> { |
| 580 | if(this.refreshTimeoutLength === 0){ |
no test coverage detected