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

Method with_transform

src/series.rs:417–420  ·  view source on GitHub ↗

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

(mut self, transform: PositionTransform)

Source from the content-addressed store, hash-verified

415 /// For normal data values, conversion runs before the plot's axis scale.
416 /// `Transform::axes()` uses normalized plot positions instead.
417 pub fn with_transform(mut self, transform: PositionTransform) -> Self {
418 self.transform = transform;
419 self
420 }
421
422 /// Set how this series interprets or converts x values before drawing.
423 ///

Callers 1

newFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected