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

Function seriesTable

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

Source from the content-addressed store, hash-verified

234
235/** Days down the side, one column per series. */
236const seriesTable = (data) => ({
237 columns: ['Day', ...data.datasets.map((ds) => ds.label)],
238 rows: data.labels.map((day, i) => [
239 day,
240 ...data.datasets.map((ds) => (ds.data[i] === null ? '—' : number(ds.data[i]))),
241 ]),
242});
243
244/** Both numbers, always — the panel plots one of them, the table shows both. */
245const breakdownTable = (data) => ({

Callers

nothing calls this directly

Calls 1

numberFunction · 0.90

Tested by

no test coverage detected