Add charts view with pie, bar, and line charts

Pie chart shows expense breakdown by category with color-coded slices.
Bar chart shows income vs expense for the last 6 months. Line chart
shows cumulative daily net trend. All charts render via plotters
BitMapBackend to GDK MemoryTexture for display. Month navigation
shared across all three charts.
This commit is contained in:
2026-03-02 00:22:19 +02:00
parent 0a198db8c6
commit 29d86a5241
5 changed files with 410 additions and 1 deletions

View File

@@ -8,5 +8,6 @@ outlay-core = { path = "../outlay-core" }
gtk = { package = "gtk4", version = "0.11" }
adw = { package = "libadwaita", version = "0.9", features = ["v1_8"] }
chrono = "0.4"
gdk = { package = "gdk4", version = "0.11" }
plotters = { version = "0.3", default-features = false, features = ["bitmap_backend", "bitmap_encoder", "line_series", "area_series"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }