Open kongchenglc opened 2 years ago
Something wrong with the git version that is linked. You can use the one from crates.io, though. In your Cargo.toml file you can change the dependencies to
[dependencies]
plotters = "0.3.2"
wasm-bindgen = "0.2.62"
wee_alloc = "0.4.5"
web-sys = { version = "0.3.39", features = ["HtmlCanvasElement"] }
plotters-canvas = "0.3.0"
which fixed the issue for me.
I had the same issue and @JuliDi's solution worked for me too.
+1 for @JuliDi 's solution.
another option is to use this open PR instead:
[dependencies.plotters-canvas]
git = "https://github.com/AE1020/plotters-canvas"
branch = "revert-rotateangle"
@38 I know you are looking for participants - I can help get the canvas stuff sorted out so that it'll at least compile again natively without these workarounds
+1 for @JuliDi 's solution.