slint/examples/plotter
David Faure 29e289fbdf Move the workspace to rust edition 2024
Motivation: the git pre-commit hook is confused by the mix of 2021 and
2024 in the same workspace...

The only problem this raises is the std::env::set_var("LANGUAGE", lang) in
demos/printerdemo/rust/lib.rs, pre-existing but now explicitly marked as unsafe
because it actually is. Added a TODO there.
2025-12-09 12:11:04 +01:00
..
Cargo.toml Move the workspace to rust edition 2024 2025-12-09 12:11:04 +01:00
index.html Winit initial size adjustments and wasm size fixes 2023-10-24 15:28:18 +02:00
main.rs Deprecate exporting the last import if there is no other exported component 2024-07-03 13:34:08 +02:00
plotter.slint cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
README.md Remove license header from .md/.mdx files 2025-12-04 21:58:09 +01:00
wasm_backend.rs Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00

plotter

A Rust-only example that shows how to use the Rust plotters crate to do plot a graph and integrate the result into Slint.

.slint Design Rust Source Online wasm Preview
plotter.slint main.rs Online simulation

Screenshot of the plotter example