MCPcopy Index your code
hub / github.com/tinyplex/tinybase / getPlotSize

Function getPlotSize

src/ui-react-dom-charts/common/svg.ts:52–55  ·  view source on GitHub ↗
([, chartSize, chartStyle]: RefAndLayout)

Source from the content-addressed store, hash-verified

50};
51
52export const getPlotSize = ([, chartSize, chartStyle]: RefAndLayout) => {
53 const [, , width, height] = getPlotFrame(chartSize, chartStyle);
54 return [width, height] as const;
55};
56
57export const getLabelSize = ([, , chartStyle]: RefAndLayout) => chartStyle[6];
58

Callers 1

CartesianChartFunction · 0.90

Calls 1

getPlotFrameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…