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.