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

Method view_cursor_overlay

src/plot_widget.rs:1024–1038  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1022 for (id, fill) in &self.fills {
1023 if let Some(ref label) = fill.label
1024 && !label.is_empty()
1025 {
1026 out.push(LegendEntry {
1027 id: *id,
1028 label: label.clone(),
1029 color: fill.color,
1030 _marker: u32::MAX,
1031 _line_style: None,
1032 hidden: self.hidden_shapes.contains(id),
1033 });
1034 }
1035 }
1036 out
1037 }
1038
1039 fn view_tooltip_overlay<'a>(
1040 &'a self,
1041 payload: &'a Option<TooltipUiPayload>,

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
update_styleMethod · 0.80

Tested by

no test coverage detected