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

Method with_transform_x

src/series.rs:426–429  ·  view source on GitHub ↗

Set how this series interprets or converts x values before drawing. For normal data values, conversion runs before the plot's x-axis scale. `Transform::axes()` uses normalized plot positions instead.

(mut self, transform: Transform)

Source from the content-addressed store, hash-verified

424 /// For normal data values, conversion runs before the plot's x-axis scale.
425 /// `Transform::axes()` uses normalized plot positions instead.
426 pub fn with_transform_x(mut self, transform: Transform) -> Self {
427 self.transform.x = Some(transform);
428 self
429 }
430
431 /// Set how this series interprets or converts y values before drawing.
432 ///

Callers 1

newFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected