feat: 初始化图表整体流程

This commit is contained in:
奔跑的面条
2024-12-15 12:48:36 +08:00
parent 0972ea0e28
commit 6106a8fc5c
21 changed files with 381 additions and 28 deletions
@@ -0,0 +1,19 @@
{
"legends": [
{
"visible": true,
"position": "middle",
"orient": "bottom",
"item": {
"visible": true,
"align": "left",
"label": {
"style": {
"fontSize": 16,
"fill": "#B9B8CE"
}
}
}
}
]
}
+9
View File
@@ -0,0 +1,9 @@
import themeJson from './global.theme.json'
type ThemeJsonType = typeof themeJson
export interface vChartGlobalThemeJsonType extends Partial<ThemeJsonType> {
dataset?: any
[T: string]: any
}
export const vChartGlobalThemeJson = { ...themeJson, dataset: null, renderer: 'svg' as const }