gpui-component/crates/story
Floyd Wang 0d167f61e5
plot: Add support for stacked chart (#1681)
## Description

- Add `stack` shape.
- Add `ordinal` scale.
- Add plot docs.

<img width="337" height="424" alt="SCR-20251126-puzm"
src="https://github.com/user-attachments/assets/eff9e2d0-c13a-449a-b717-9568e0c2f88d"
/>

## Breaking change
The bar shape `y0` value is now returned for each data item.

```diff
- Bar::new().y0(height)
+ Bar::new().y0(move |_| height)
+ Bar::new().y0(move |d| d.height)
```
2025-11-26 10:24:57 +00:00
..
examples setting: Add Settings component. (#1632) 2025-11-20 13:51:44 +00:00
src plot: Add support for stacked chart (#1681) 2025-11-26 10:24:57 +00:00
Cargo.toml chore: Upgrade tracing-subscriber to fix CVE-2025-58160 (#1678) 2025-11-25 07:26:01 +00:00