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

Method line_width

src/series.rs:462–466  ·  view source on GitHub ↗

Set or change the line width for the series.

(mut self, width: impl Into<Size>)

Source from the content-addressed store, hash-verified

460
461 /// Set or change the line width for the series.
462 pub fn line_width(mut self, width: impl Into<Size>) -> Self {
463 let width = width.into();
464 self.line_style = Some(self.line_style.unwrap_or_default().with_width(width));
465 self
466 }
467
468 /// Set or change the line width for the series in world units.
469 pub fn line_width_world(mut self, width: f64) -> Self {

Callers

nothing calls this directly

Calls 1

with_widthMethod · 0.45

Tested by

no test coverage detected