Skip to content

Gallery and stress apps 0.4.2

Choose a tag to compare

@trondegil trondegil released this 03 Nov 14:13
· 17 commits to main since this release

The example apps for SlintPlot 0.4.2, built with the new library:

  • slintplot-gallery: a sample browser with every chart type, including the new segmented ring and tile grid charts, in tabs by category and on a scale; a theme picker, dark mode, and buttons to randomize, add and remove data. Clicking a chart shows what was clicked. The code button opens each sample as a small app that runs as it is, in tabs: ui/app.slint with the chart's data, src/main.rs, build.rs, Cargo.toml and how to run it. In the Gantt sample, clicking a task opens a dialog that edits it. slintplot-gallery --snapshot <dir> renders every sample to PNG.
  • slintplot-stress: streams up to 8 datasets at 10 to 100,000 samples a second into a window of 1,000 to 10,000,000 values or everything received, with line, bar, time series and scatter charts and more, with zoom and live frame times. slintplot-stress --bench prints headless timings.

What's new in the library: segmented ring and tile grid charts, and the slices and rings of the radial charts, draw their gaps correctly on Linux, Windows and in the browser, where some cells merged before. See the 0.4.2 release; the 0.4.0 release added the segmented ring and tile grid charts.

Download

Ready-built apps for macOS (Apple silicon and Intel), Windows and Linux are attached below. Each archive holds both apps, SlintPlot's licenses, Slint's license (LICENSE-SLINT.md) and the licenses of the open-source crates they are built from (THIRD-PARTY-LICENSES.html).

  • macOS: the apps aren't signed. After unpacking, run xattr -d com.apple.quarantine slintplot-gallery slintplot-stress in the folder, or right-click the app and choose Open.
  • Linux: needs fontconfig and xkbcommon, which most desktops already have.

Install with Cargo

cargo install slintplot-gallery
cargo install slintplot-stress

License

SlintPlot is free to try: download it, experiment and build prototypes, at home or at work. It is available under the GPLv3, the PolyForm Noncommercial License 1.0.0, or a commercial license for closed-source products: see Pricing.

Made with Slint