Function re_space_view_time_series::plot_id

source ·
pub(crate) fn plot_id(space_view_id: SpaceViewId) -> Id
Expand description

Computes a deterministic, globally unique ID for the plot based on the ID of the space view itself.

Use it to access the plot’s state from anywhere, e.g.:

let plot_mem = egui_plot::PlotMemory::load(egui_ctx, crate::plot_id(query.space_view_id));