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

Method add_vline

src/plot_widget_builder.rs:319–322  ·  view source on GitHub ↗

Add a vertical reference line to the plot.

(mut self, vline: VLine)

Source from the content-addressed store, hash-verified

317 pub fn add_series(mut self, series: Series) -> Self {
318 self.series.push(series);
319 self
320 }
321
322 /// Add a vertical reference line to the plot.
323 pub fn add_vline(mut self, vline: VLine) -> Self {
324 self.vlines.push(vline);
325 self

Callers 1

buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected