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 cargo-leptos watch
(note the '-').
we can use websocket client to refresh data and plot in real time.
websocket client refresh data
cargo leptos watch
uv run /src/server.py
cargo run --example server