Convert a data-coordinate value into plot-space. This applies the transform first, then the axis scale. `Transform::axes()` needs the current axis range, which is only available internally during rendering.
(&self, pos: f64, axis_scale: AxisScale)
| 196 | /// needs the current axis range, which is only available internally during |
| 197 | /// rendering. |
| 198 | pub fn transform_data(&self, pos: f64, axis_scale: AxisScale) -> Option<f64> { |
| 199 | data_value_to_plot(pos, axis_scale, Some(self)) |
| 200 | } |
| 201 | |
| 202 | /// Convert a value into a normalized `[0, 1]` position along an axis. |
| 203 | /// |
no test coverage detected