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

#73 in Visualization

Download history 518/week @ 2025-06-03 541/week @ 2025-06-10 501/week @ 2025-06-17 615/week @ 2025-06-24 512/week @ 2025-07-01 542/week @ 2025-07-08 655/week @ 2025-07-15 587/week @ 2025-07-22 592/week @ 2025-07-29 711/week @ 2025-08-05 676/week @ 2025-08-12 455/week @ 2025-08-19 464/week @ 2025-08-26 474/week @ 2025-09-02 476/week @ 2025-09-09 472/week @ 2025-09-16

1,923 downloads per month
Used in 2 crates

MIT license

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:

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–9.5MB
~178K SLoC