Repository navigation
chartlet 0.1.0-alpha.2
Pre-releaseSecond alpha of chartlet with two fixes to the command line interface.
Changes
-
Consistent error locations. Every error now reports its location as a JSON Pointer.
Previously, errors raised while reading the specification used a different notation.Case Before Now Unknown field $valueAxis.colour/valueAxis/colourWrong value type $data[0].value/data/0/valueMissing required field $./Malformed JSON line 2, column 0/(line and column stay in the message)If you parse
pathfrom errors, update that code. -
Early-closing readers no longer crash the CLI. When output is piped into a program that
stops reading early, such aschartlet render spec.json | head, chartlet now ends quietly.
Before, it crashed with exit code 101. -
Corrected installation instructions for the Astro package. Neither the CLI nor the npm
package is published to a registry yet.
Chart output is unchanged: every example renders byte-identically to 0.1.0-alpha.1.
Getting started
Build the CLI from source (Rust 1.88 or newer):
cargo install --git https://github.com/casoon/chartlet --tag v0.1.0-alpha.2
chartlet render spec.json --format html -o chart.htmlSee the README and the examples/ directory.
Known limitations
- The specification may change before the first stable release.
- Screen reader testing with VoiceOver and NVDA is still pending.
- Line charts support a single series only.
- The Astro component calls the installed CLI; a self-contained package comes later.