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

Function getBarWidths

test/unit/core/ui-react/ui-react-dom-charts.test.tsx:53–56  ·  view source on GitHub ↗
(container: HTMLElement)

Source from the content-addressed store, hash-verified

51 });
52
53const getBarWidths = (container: HTMLElement): number[] =>
54 Array.from(container.querySelectorAll('.plot .bar'), (bar) =>
55 Number(bar.getAttribute('width')),
56 );
57
58const getTimeAxisLabels = (
59 min: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…