gpui-component/crates/ui/src/plot
Floyd Wang 19a54d6065
chart(pie): Support dynamic inner and outer radius (#1444)
## ⚠️Breaking Change
Add `inner_radius` and `outer_radius` options for `Arc` paint function.

```diff
- arc.paint(a, "#9d9d9d", bounds, window)
+ arc.paint(a, "#9d9d9d", Some(20.), Some(30.), bounds, window)
```
## Demo
<img width="410" height="442" alt="SCR-20251028-kohu"
src="https://github.com/user-attachments/assets/8b849053-22e6-4d6f-933f-b9fb2a47f5e3"
/>
2025-10-28 13:53:28 +08:00
..
scale plot(scale): Add least index support for linear (#1225) 2025-09-09 11:40:09 +08:00
shape chart(pie): Support dynamic inner and outer radius (#1444) 2025-10-28 13:53:28 +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: Add StepAfter kind to StokeStrike (#1356) 2025-10-13 09:59:51 +08:00
scale.rs plot(scale): Add least index support for linear (#1225) 2025-09-09 11:40:09 +08:00
shape.rs chart(pie): Support dynamic inner and outer radius (#1444) 2025-10-28 13:53:28 +08:00
tooltip.rs plot(tooltip): Fix the dots not centered (#1229) 2025-09-09 18:01:01 +08:00