plotters-canvas

Crates.ioplotters-canvas
lib.rsplotters-canvas
version0.3.1
created_at2020-01-28 19:56:51.90479+00
updated_at2025-03-07 07:52:24.790574+00
descriptionPlotters HTML5 Canvas Backend
homepagehttps://plotters-rs.github.io
repositoryhttps://github.com/plotters-rs/plotters-canvas
max_upload_size
id202834
size33,531
Aaron Erhardt (AaronErhardt)

documentation

README

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
Commit count: 92

cargo fmt