()
| 180 | } |
| 181 | |
| 182 | renderPlotBackgroundRect(): RectModel { |
| 183 | return { |
| 184 | type: 'rect', |
| 185 | x: 0, |
| 186 | y: 0, |
| 187 | ...pick(this.rect, 'width', 'height'), |
| 188 | color: this.theme.backgroundColor, |
| 189 | }; |
| 190 | } |
| 191 | |
| 192 | render(state: ChartState<Options>) { |
| 193 | const { layout, axes, plot, zoomRange, theme, scale } = state; |