support exporting statistics & analysis result to mermaid

This commit is contained in:
MaysWind
2026-02-25 01:16:42 +08:00
parent 6d37d42e50
commit 75d9e11bab
24 changed files with 216 additions and 11 deletions
+6
View File
@@ -285,6 +285,12 @@ export class ChartDateAggregationType {
}
}
export enum ExportMermaidChartType {
PieChart = 'pieChart',
XYChartBar = 'xyChartBar',
XYChartLine = 'xyChartLine'
}
export const DEFAULT_CATEGORICAL_CHART_DATA_RANGE: DateRange = DateRange.ThisMonth;
export const DEFAULT_TREND_CHART_DATA_RANGE: DateRange = DateRange.ThisYear;
export const DEFAULT_ASSET_TRENDS_CHART_DATA_RANGE: DateRange = DateRange.ThisYear;