gpui-component/crates/ui/src/chart/mod.rs
Floyd Wang 516c8fada4
chart: Introduce chart (#878)
Add a new component called `plot`. It provides a low-level approach to
data analysis and visualization.
Chart is a collection of ready-to-use chart components built with
`plot`.

| Light | Dark |
| - | - |
| <img width="1712" alt="SCR-20250604-qhxb"
src="https://github.com/user-attachments/assets/bf7ce76e-ab7a-42c2-92e7-17cd135de66f"
/> | <img width="1712" alt="SCR-20250604-qhxr"
src="https://github.com/user-attachments/assets/dd3e44ea-bbb5-41a2-8cce-38b316d7d800"
/> |
2025-06-04 19:22:11 +08:00

9 lines
183 B
Rust

mod area_chart;
mod bar_chart;
mod line_chart;
mod pie_chart;
pub use area_chart::AreaChart;
pub use bar_chart::BarChart;
pub use line_chart::LineChart;
pub use pie_chart::PieChart;