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 watchuv run
src/server.pycargo run --example server