(data)
| 243 | |
| 244 | /** Both numbers, always — the panel plots one of them, the table shows both. */ |
| 245 | const 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 |