From 698dc940b479a105dfd1e53950f76b083f495dd0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 23 Jul 2026 11:21:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ChartPie=E5=8A=A0pie=5Foptions/ChartScat?= =?UTF-8?q?ter=E6=94=B9xField/yField/sizeField?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/sect_currency.ui | 3 ++- wwwroot/sect_provider_roi.ui | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/wwwroot/sect_currency.ui b/wwwroot/sect_currency.ui index 4ca2b3f..77ab177 100644 --- a/wwwroot/sect_currency.ui +++ b/wwwroot/sect_currency.ui @@ -4,6 +4,7 @@ "height": "200px", "data_url": "/sage_datamart/api/currency_stats.dspy", "nameField": "currency", - "valueFields": ["call_count"] + "valueFields": ["call_count"], + "pie_options": {"type": "pie", "radius": "60%"} } } diff --git a/wwwroot/sect_provider_roi.ui b/wwwroot/sect_provider_roi.ui index fc3dba1..b895b4b 100644 --- a/wwwroot/sect_provider_roi.ui +++ b/wwwroot/sect_provider_roi.ui @@ -4,6 +4,8 @@ "height": "240px", "data_url": "/sage_datamart/api/provider_roi.dspy", "nameField": "model", - "valueFields": ["unit_price", "avg_ttft_ms", "total_calls"] + "xField": "unit_price", + "yField": "avg_ttft_ms", + "sizeField": "total_calls" } }