Initial commit

This commit is contained in:
root
2025-12-21 09:58:23 -05:00
committed by Sebastian Krupinski
commit 9db14ce44b
20 changed files with 2710 additions and 0 deletions

56
src/main.ts Normal file
View File

@@ -0,0 +1,56 @@
import routes from '@/routes'
import integrations from '@/integrations'
import { use } from 'echarts/core'
import { CanvasRenderer } from 'echarts/renderers'
import VChart from 'vue-echarts'
import type { App as Vue } from 'vue'
import {
LineChart,
BarChart,
PieChart,
RadarChart,
EffectScatterChart,
ScatterChart,
} from 'echarts/charts'
import {
LegendComponent,
TooltipComponent,
GridComponent,
TitleComponent,
VisualMapComponent,
DataZoomComponent,
ToolboxComponent,
MarkPointComponent,
DatasetComponent,
} from 'echarts/components'
// CSS filename is injected by the vite plugin at build time
export const css = ['__CSS_FILENAME_PLACEHOLDER__']
export { routes, integrations }
export default {
install(app: Vue) {
use([
LineChart,
BarChart,
PieChart,
RadarChart,
EffectScatterChart,
ScatterChart,
CanvasRenderer,
LegendComponent,
TooltipComponent,
GridComponent,
TitleComponent,
VisualMapComponent,
DataZoomComponent,
ToolboxComponent,
MarkPointComponent,
DatasetComponent,
])
app.component('VChart', VChart)
}
}