MCPcopy
hub / github.com/nhn/tui.chart / renderPlotBackgroundRect

Method renderPlotBackgroundRect

apps/chart/src/component/plot.ts:182–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

renderMethod · 0.95

Calls 1

pickFunction · 0.90

Tested by

no test coverage detected