MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / breakdownTable

Function breakdownTable

telemetry-dashboard/public/panels.js:245–248  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

243
244/** Both numbers, always — the panel plots one of them, the table shows both. */
245const breakdownTable = (data) => ({
246 columns: [data.title, 'Events', 'Machine-days'],
247 rows: data.rows.map((r) => [r.value, number(r.count), number(r.machines)]),
248});
249
250// ---------------------------------------------------------------------------
251// The panels

Callers

nothing calls this directly

Calls 1

numberFunction · 0.90

Tested by

no test coverage detected