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

#168 in Web programming

Download history 880/week @ 2025-01-27 1144/week @ 2025-02-03 1207/week @ 2025-02-10 887/week @ 2025-02-17 1277/week @ 2025-02-24 1731/week @ 2025-03-03 1872/week @ 2025-03-10 1950/week @ 2025-03-17 1295/week @ 2025-03-24 1185/week @ 2025-03-31 845/week @ 2025-04-07 759/week @ 2025-04-14 976/week @ 2025-04-21 677/week @ 2025-04-28 554/week @ 2025-05-05 473/week @ 2025-05-12

2,707 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.5–10MB
~182K SLoC