3 Commits
Author SHA1 Message Date
CatoandClaude d40fb3fe68 feat(line): markers and area on LineChart, so a year of closes is a clean line (#10)
A share-price chart of daily closes drew a dot on every value: about 250
beads on a one-year chart. LineChart gains two backward-compatible props:

- markers: "all" (default, unchanged) | "none" | "ends" | "auto".
  auto drops the dots above 60 points on a series; ends keeps only the
  last value. A hidden value is a full-height strip of the plot (strips
  tile it edge to edge), and hover or keyboard focus shows its dot, a
  hairline cursor and its value. The table still holds every value.
- area: a light fill under each line in the series' token colour.

Core gains areaPath, hitColumns, resolveMarkers, AUTO_MARKER_LIMIT.
Browser check runs at 1440px too and covers the dense chart at 390/1440.


Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-27 13:46:54 +01:00
CatoandClaude b54b26715e feat: ShareBars otherLabel and a ColumnChart for values by period (#9)
ShareBars took {rows, caption, other} and always called the remainder
"Other", so an app that knew what its rest was ("Others, each below 5%")
could only say it in the caption. `otherLabel` names it in the legend and the
table; left out, it is still "Other".

ColumnChart draws figures by period: revenue and net income by fiscal year,
periods left to right in the order given (fiscal labels are not dates, so
nothing re-sorts them), several series side by side, a loss below the zero
line, a missing figure as no column and "—" in the table, each column
focusable with its value and a link to its source. The ranked BarChart could
not do this: it re-orders rows by size, so a year chart came out of order.

Release 0.2.0.


Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-27 08:55:08 +01:00
bitbaum-fleet da998b84d0 @bitbaum/chartkit 0.1.0: its own repo
Moved from bitbaum/substrata packages/chartkit at 2085534968dbf062d5c9440dec755a49947a01fd; the history before this commit is there. Created by bitbaum/fleet scripts/packages/create-package-repos.mjs from registers/package-repos.json.
2026-10-23 10:00:24 +00:00