From 475c0e0e95ce2c7c4548e388afc16804f42f249c Mon Sep 17 00:00:00 2001 From: zernonia Date: Tue, 5 Dec 2023 13:21:09 +0800 Subject: [PATCH] feat: use generic, add better color --- .../default/ui/chart-area/AreaChart.vue | 67 ++++++++++++---- .../default/ui/chart-bar/BarChart.vue | 73 +++++++++++++----- .../default/ui/chart-donut/DonutChart.vue | 77 ++++++++++++++----- .../default/ui/chart-line/LineChart.vue | 63 +++++++++++---- .../lib/registry/default/ui/chart/index.ts | 16 ++-- .../new-york/ui/chart-area/AreaChart.vue | 67 ++++++++++++---- .../new-york/ui/chart-bar/BarChart.vue | 57 ++++++++++++-- .../new-york/ui/chart-donut/DonutChart.vue | 56 ++++++++++---- .../new-york/ui/chart-line/LineChart.vue | 63 +++++++++++---- .../new-york/ui/chart/ChartTooltip.vue | 11 --- .../lib/registry/new-york/ui/chart/index.ts | 16 ++-- 11 files changed, 418 insertions(+), 148 deletions(-) diff --git a/apps/www/src/lib/registry/default/ui/chart-area/AreaChart.vue b/apps/www/src/lib/registry/default/ui/chart-area/AreaChart.vue index c94e872d..adad26a8 100644 --- a/apps/www/src/lib/registry/default/ui/chart-area/AreaChart.vue +++ b/apps/www/src/lib/registry/default/ui/chart-area/AreaChart.vue @@ -1,28 +1,73 @@ -