(id?: HttpgdPlotId)
| 469 | } |
| 470 | |
| 471 | public async closePlot(id?: HttpgdPlotId): Promise<void> { |
| 472 | id ??= this.activePlot; |
| 473 | if (id) { |
| 474 | this.hidePlot(id); |
| 475 | await this.api.removePlot({ id: id }); |
| 476 | } |
| 477 | } |
| 478 | |
| 479 | public toggleStyle(force?: boolean): void { |
| 480 | this.stripStyles = force ?? !this.stripStyles; |