mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增chart组件数据内容
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import barCommon from './index.vue'
|
||||
import barImg from '@/assets/images/chart/bar_y.png'
|
||||
import { ConfigType } from '@/packages/index.d'
|
||||
|
||||
// 柱状图
|
||||
export const barCommonConfig: ConfigType = {
|
||||
key: 'Bar',
|
||||
title: '基础',
|
||||
node: barCommon,
|
||||
image: barImg
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
柱状图组件渲染
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
@@ -0,0 +1,3 @@
|
||||
import { barCommonConfig } from './bar/barCommon/index'
|
||||
|
||||
export const BarList = [barCommonConfig]
|
||||
@@ -0,0 +1,11 @@
|
||||
import BorderCommon from './index.vue'
|
||||
import barImg from '@/assets/images/chart/bar_y.png'
|
||||
import { ConfigType } from '@/packages/index.d'
|
||||
|
||||
// 柱状图
|
||||
export const barCommonConfig: ConfigType = {
|
||||
key: 'Border',
|
||||
title: '柱状图',
|
||||
node: BorderCommon,
|
||||
coverGraph: barImg
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
柱状图组件渲染
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
@@ -0,0 +1,3 @@
|
||||
import { barCommonConfig } from './border/borderCommon/index'
|
||||
|
||||
export const BarList = [barCommonConfig]
|
||||
Reference in New Issue
Block a user