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

Method with_transform_y

src/series.rs:435–438  ·  view source on GitHub ↗

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

(mut self, transform: Transform)

Source from the content-addressed store, hash-verified

433 /// For normal data values, conversion runs before the plot's y-axis scale.
434 /// `Transform::axes()` uses normalized plot positions instead.
435 pub fn with_transform_y(mut self, transform: Transform) -> Self {
436 self.transform.y = Some(transform);
437 self
438 }
439
440 /// Interpret all positions as normalized plot coordinates.
441 ///

Callers 1

newFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected