add radar chart for categorical analysis on desktop version

This commit is contained in:
MaysWind
2025-10-26 02:01:51 +08:00
parent e1dcf56ca9
commit 745efe1222
21 changed files with 248 additions and 11 deletions
+4 -1
View File
@@ -52,7 +52,7 @@ import 'vuetify/styles';
import * as echarts from 'echarts/core';
import { CanvasRenderer } from 'echarts/renderers';
import { LineChart, BarChart, PieChart, CandlestickChart } from 'echarts/charts';
import { LineChart, BarChart, PieChart, CandlestickChart, RadarChart } from 'echarts/charts';
import {
GridComponent,
TooltipComponent,
@@ -99,6 +99,7 @@ import StepsBar from '@/components/desktop/StepsBar.vue';
import ConfirmDialog from '@/components/desktop/ConfirmDialog.vue';
import SnackBar from '@/components/desktop/SnackBar.vue';
import PieChartComponent from '@/components/desktop/PieChart.vue';
import RadarChartComponent from '@/components/desktop/RadarChart.vue';
import MonthlyTrendsChart from '@/components/desktop/MonthlyTrendsChart.vue';
import DateRangeSelectionDialog from '@/components/desktop/DateRangeSelectionDialog.vue';
import MonthSelectionDialog from '@/components/desktop/MonthSelectionDialog.vue';
@@ -496,6 +497,7 @@ echarts.use([
BarChart,
PieChart,
CandlestickChart,
RadarChart,
GridComponent,
TooltipComponent,
LegendComponent
@@ -536,6 +538,7 @@ app.component('StepsBar', StepsBar);
app.component('ConfirmDialog', ConfirmDialog);
app.component('SnackBar', SnackBar);
app.component('PieChart', PieChartComponent);
app.component('RadarChart', RadarChartComponent);
app.component('MonthlyTrendsChart', MonthlyTrendsChart);
app.component('DateRangeSelectionDialog', DateRangeSelectionDialog);
app.component('MonthSelectionDialog', MonthSelectionDialog);