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.
7 lines
262 B
Ziran
7 lines
262 B
Ziran
// Reusable chart API, independent of the demo application's entry.
|
|
using UI :: #import "kryon/Kryon";
|
|
using Candle :: #import "candle_chart";
|
|
using Line :: #import "line_chart";
|
|
using Band :: #import "band_chart";
|
|
using BandProps :: #import "band_chart_props";
|