gpui-component/crates/ui/src/plot
Floyd Wang 78dccd4d79
plot: Apply linear scale based on the direction of given range (#1219)
## Breaking Change
- Apply linear scale based on the direction of given range.

```diff
- ScaleLinear::new(vec![1., 2., 3.], vec![0., 100.])
+ ScaleLinear::new(vec![1., 2., 3.], vec![100., 0.])
```

Currently, you can draw the linear scale from minimum to maximum or from
maximum to minimum; it depends on the direction of the range.
2025-09-08 15:56:58 +08:00
..
scale plot: Apply linear scale based on the direction of given range (#1219) 2025-09-08 15:56:58 +08:00
shape plot: Fix the full circle cannot be drawn (#1161) 2025-08-20 16:01:15 +08:00
axis.rs plot: Use f32 instead of f64 (#1052) 2025-07-08 16:24:59 +08:00
grid.rs chart: Draw dashed lines using gpui PathBuilder (#927) 2025-06-09 11:55:32 +08:00
label.rs plot: Use f32 instead of f64 (#1052) 2025-07-08 16:24:59 +08:00
mod.rs plot: Use f32 instead of f64 (#1052) 2025-07-08 16:24:59 +08:00
scale.rs plot: Use f32 instead of f64 (#1052) 2025-07-08 16:24:59 +08:00
shape.rs chart: Introduce chart (#878) 2025-06-04 19:22:11 +08:00
tooltip.rs plot: Support multiple directions for the tooltip cross line (#1128) 2025-08-12 14:16:31 +08:00