6 releases
0.3.1 | Mar 7, 2025 |
---|---|
0.3.0 | Sep 3, 2020 |
0.2.0 | Sep 3, 2020 |
0.1.2 | Aug 29, 2020 |
0.1.0 | Jan 28, 2020 |
#70 in Visualization
6,718 downloads per month
Used in rate-app
23KB
494 lines
plotters-canvas - The HTML5 canvas backend for Plotters
This is a part of plotters project. For more details, please check the following links:
- For high-level intro of Plotters, see: Plotters on crates.io
- Check the main repo at Plotters repo
- For detailed documentation about this crate, check plotters-backend on docs.rs
- You can also visit Plotters Homepage
Testing
This crate needs to be tested in a browser environment. In order to test, you should install wasm-pack
first.
cargo install wasm-pack
To run the test case with wasm-pack. You need choose what browser you want to run the test cases. You should also be able
to use --chrome
or --safari
as well.
wasm-pack test --firefox
Also you should be able to run it headlessly by adding the headless param to the testing command.
wasm-pack test --firefox --headless
Dependencies
~7.5–10MB
~182K SLoC