GitHub - plotters-rs/plotters-canvas: Plotters HTML5 Canvas-WASM Backend

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.

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.

Also you should be able to run it headlessly by adding the headless param to the testing command.

wasm-pack test --firefox --headless