MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / plot_panel

Function plot_panel

examples/backends.rs:59–68  ·  view source on GitHub ↗
(title: &'static str, plot: Element<'a, Message>)

Source from the content-addressed store, hash-verified

57}
58
59fn plot_panel<'a>(title: &'static str, plot: Element<'a, Message>) -> Element<'a, Message> {
60 column![
61 text(title).size(18),
62 container(plot).width(Length::Fill).height(Length::Fill),
63 ]
64 .spacing(8)
65 .width(Length::Fill)
66 .height(Length::Fill)
67 .into()
68}
69
70fn marker_plot(strategy: PlotRenderStrategy) -> PlotWidget {
71 let markers = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected