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

Download history 927/week @ 2024-12-01 1147/week @ 2024-12-08 936/week @ 2024-12-15 473/week @ 2024-12-22 546/week @ 2024-12-29 924/week @ 2025-01-05 940/week @ 2025-01-12 759/week @ 2025-01-19 791/week @ 2025-01-26 1225/week @ 2025-02-02 1134/week @ 2025-02-09 967/week @ 2025-02-16 1239/week @ 2025-02-23 1749/week @ 2025-03-02 1864/week @ 2025-03-09 1789/week @ 2025-03-16

6,718 downloads per month
Used in rate-app

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