Convert a data value with `value * scale + translate` before axis scaling.
(scale: f64, translate: f64)
| 139 | |
| 140 | /// Convert a data value with `value * scale + translate` before axis scaling. |
| 141 | pub const fn affine(scale: f64, translate: f64) -> Self { |
| 142 | Self { |
| 143 | coordinate_system: CoordinateSystem::Data, |
| 144 | operation: TransformOperation::Affine { scale, translate }, |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /// Convert a data value with `log_base(value)` before axis scaling. |
| 149 | pub const fn log(base: f64) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected