* feat(chartkit): LineExplorer — a chart the reader works; numbers shown with every value a link
- @bitbaum/chartkit/explore: LineExplorer ("use client") over LineChart.
Toggle series (never the last), narrow periods, figures or change since
the first period; the view is data the app keeps in its URL
(initial / onViewChange). Every control 44px, every word from the app.
- LineChart `numbers`: the table behind the chart shown behind a
disclosure, each value a link to its source. Hidden table stays text.
- TableCell can be { text, href }. LineSeries.colour keeps a colour stable.
- Browser test works the explorer at 390/1280, light/dark: toggles,
range, change from 0, table links, 44px targets, no overflow, audit.
First of Solon's "every number clickable, slice and dice" phases; upstream
so every product gets it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(chatkit): the reader's place is where it was when history loads, not a fixed 240px
The Messenger check failed on main every run (325px): loading starts 200px
before the top (the observer's margin), so where the reader stands when the
page arrives varies. Measure the first message before and after the load;
a lost place still fails (it would jump down a whole page, off screen).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(chartkit): the explorer's figures/change switch reads as a choice, not as switched off
The unchosen option was drawn muted, like a series switched off. It is a
choice of two: the chosen one is filled, the other reads as any button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(chartkit): LineExplorer defaultView — the app's own start, what Reset returns to
A product that keeps a series off until asked for (a second grey median)
showed Reset on first load. defaultView is the starting view: Reset returns
to it and only a departure from it counts as a change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Three gaps found when four apps tried to adopt 0.6.0:
- LineChart: a dated axis now ticks on days, weeks, months or years for any
span, and is never left bare. A 30-day daily series had no date label.
- ColumnChart: period labels are printed whole and thinned (every n-th) per
band of plot width via a container query, instead of being cut at 8
characters or to their column ("20…", "J…" at 390px).
- Meter: tone (accent, neutral, positive, warning, negative) and
showValue={false}. Sparkline: null breaks the line, per-point tones colour
their dots; dots are round-capped strokes so they render filled.
Additions only. Tests in core, render and browser checks; demo, README and
CHANGELOG updated.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
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>
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>
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.