From 4684de97058894ef244077a3cdfdc41522da2b84 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Tue, 28 Oct 2025 00:48:42 +0800 Subject: [PATCH] support mouse zoom for the sankey chart --- src/components/desktop/AccountAndCategorySankeyChart.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/desktop/AccountAndCategorySankeyChart.vue b/src/components/desktop/AccountAndCategorySankeyChart.vue index 4c9d1426..68f93d45 100644 --- a/src/components/desktop/AccountAndCategorySankeyChart.vue +++ b/src/components/desktop/AccountAndCategorySankeyChart.vue @@ -315,6 +315,7 @@ const chartOptions = computed(() => { left: 10, top: 10, bottom: 10, + roam: true, label: { formatter: (params: CallbackDataParams) => { const dataItem = params.data as SankeyChartNodeItem;