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

Method line_dashed

src/series.rs:495–497  ·  view source on GitHub ↗

Set dashed line style with given dash length.

(self, length: f32)

Source from the content-addressed store, hash-verified

493
494 /// Set dashed line style with given dash length.
495 pub fn line_dashed(self, length: f32) -> Self {
496 self.line_type(LineType::Dashed { length })
497 }
498
499 pub(super) fn validate(&self) -> Result<(), SeriesError> {
500 if self.positions.is_empty() {

Callers

nothing calls this directly

Calls 1

line_typeMethod · 0.80

Tested by

no test coverage detected