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

Method add_hline

src/plot_widget_builder.rs:331–334  ·  view source on GitHub ↗

Add a horizontal reference line to the plot.

(mut self, hline: HLine)

Source from the content-addressed store, hash-verified

329 pub fn add_fill(mut self, fill: Fill) -> Self {
330 self.fills.push(fill);
331 self
332 }
333
334 /// Add a horizontal reference line to the plot.
335 pub fn add_hline(mut self, hline: HLine) -> Self {
336 self.hlines.push(hline);
337 self

Callers 1

buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected