6 Commits
Author SHA1 Message Date
waozi 376f273dd1 Follow the active Kryon palette when drawing plots 2026-11-20 00:42:55 -03:00
waozi 1b1663f2c1 Follow current Kryon appearance in Plot surfaces 2026-11-16 21:32:10 -03:00
waozi 2e06dfe503 Portable bundles draw band charts through their host
A bundle that shows values against a good range could not draw a band
chart, because the chart measures and paints with Kryon's native modules.
The chart's records move to band_chart_props, a bundle built with
KRYON_HOSTED_UI submits the chart as BandChartHostedHost, and a host answers
it with BandChartHostCall from band_chart_host, which decodes the records
with a codec generated on top of Kryon's widget codec. The check builds the
bundles as ZX, which the toolchain now runs.
2026-10-24 20:17:44 -03:00
waozi afa134f925 Add a band chart of values against a changing good range
BandChart draws values over a row of slots, such as the last 30 days, as
dots or bars, each good, not good or not judged, over a band of good
values. The band can change from any slot on, with a line where it does,
and a band between a later and an earlier value wraps, as a time of day
from 22:00 to 01:00. The point under the pointer, or the one pressed,
shows its label in a box kept inside the chart.
2026-10-13 14:45:25 -03:00
waozi 8400489f6c Compare two series on one line chart
LineChartCompare draws an earlier series, such as last week, in
compare_color under the current one on a single scale, so a chart shows at a
glance whether this period beats the last. ChartRangeForBoth sizes that
scale to fit both. LineChart now shares the card, grid, and series drawing
with it.
2026-09-30 15:09:12 -03:00
waozi a99a18598a Own PlotWidget and import Kryon by package-qualified paths
The plot surface moves here from Kryon, which no longer ships it.
Plot exports PlotWidget for apps that draw their own series next to the
Plot charts, and every Kryon import names its package (kryon/Kryon,
kryon/session, ...). The widget's behavior test runs as a portable
bundle and in Go, binding Kryon's host capabilities by import path.
2026-09-29 19:50:01 -03:00