gpui-component/crates/ui/src/plot/scale
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
..
band.rs plot: Improve the band scale least_index (#1141) 2025-08-15 11:23:11 +08:00
linear.rs plot: Apply linear scale based on the direction of given range (#1219) 2025-09-08 15:56:58 +08:00
point.rs plot(scale): Correct the least index (#1186) 2025-08-29 16:42:59 +08:00
sealed.rs chart: Add decimal feature (#918) 2025-06-05 16:03:20 +08:00