Skip to content

youngday/realtime_plot_wasm

Repository files navigation

realtime plot

fun

An example showcasing how to use Chartistry with Leptos and SSR. It borrows heavily from Leptos' SSR mode axum example. more info and start demo ,please check "leptos" and "leptos-chartistry".

run

Run cargo-leptos watch (note the '-').

out

frame:30 fps alt text

plot

NOTE:

we can use websocket client to refresh data and plot in real time.

client

websocket client refresh data

cargo leptos watch

python server

uv run /src/server.py

rust server

cargo run --example server

About

websocket data transfer to leptos ssr ,realtime plot ,and a pause button.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published