图表组件

This commit is contained in:
yanran200730
2023-03-09 18:01:14 +08:00
parent b30ce1c9a2
commit cef67555bf
4 changed files with 314 additions and 42 deletions

View File

@@ -12,7 +12,7 @@ const components = [
type: 'barChart1',
label: '柱状图1',
title: '柱状图',
border: 'border1',
border: 'border6',
icon: 'icontext_box',
value: '',
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/bar1.png',
@@ -44,7 +44,7 @@ const components = [
value: '',
title: '柱状图2',
width: 500,
border: 'border1',
border: 'border6',
sourceDataId: '',
height: 300,
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/bar2.png',
@@ -78,7 +78,7 @@ const components = [
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/bar3.png',
dataX: '',
dataY: [],
border: 'border1',
border: 'border6',
top: 0,
left: 0,
zIndex: 1,
@@ -110,7 +110,7 @@ const components = [
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/bar5.png',
top: 0,
left: 0,
border: 'border1',
border: 'border6',
api: '',
apiData: [],
dataType: 'staticData',
@@ -160,7 +160,7 @@ const components = [
value: '',
width: 500,
sourceDataId: '',
border: 'border1',
border: 'border6',
height: 300,
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/bar8.png',
dataX: '',
@@ -185,7 +185,7 @@ const components = [
type: 'barChart9',
label: '柱状图7',
title: '柱状图7',
border: 'border1',
border: 'border6',
icon: 'icontext_box',
value: '',
width: 500,
@@ -220,7 +220,7 @@ const components = [
type: 'lineChart1',
label: '折线图1',
title: '折线图1',
border: 'border1',
border: 'border6',
icon: 'icontext_box',
value: '',
width: 500,
@@ -249,7 +249,7 @@ const components = [
type: 'lineChart2',
label: '折线图2',
title: '折线图2',
border: 'border1',
border: 'border6',
icon: 'icontext_box',
value: '',
width: 500,
@@ -279,7 +279,7 @@ const components = [
label: '折线图3',
title: '折线图3',
icon: 'icontext_box',
border: 'border1',
border: 'border6',
value: '',
width: 500,
height: 300,
@@ -309,7 +309,7 @@ const components = [
title: '折线图4',
icon: 'icontext_box',
value: '',
border: 'border1',
border: 'border6',
width: 500,
height: 300,
zIndex: 1,
@@ -338,7 +338,7 @@ const components = [
title: '折线图5',
icon: 'icontext_box',
value: '',
border: 'border1',
border: 'border6',
width: 500,
height: 300,
zIndex: 1,
@@ -374,7 +374,7 @@ const components = [
title: '饼图',
icon: 'icontext_box',
value: '',
border: 'border1',
border: 'border6',
width: 500,
height: 300,
zIndex: 1,
@@ -402,7 +402,7 @@ const components = [
title: '饼图',
icon: 'icontext_box',
value: '',
border: 'border1',
border: 'border6',
width: 500,
height: 300,
zIndex: 1,
@@ -431,7 +431,7 @@ const components = [
title: '饼图',
icon: 'icontext_box',
value: '',
border: 'border1',
border: 'border6',
width: 500,
height: 300,
zIndex: 1,
@@ -469,7 +469,7 @@ const components = [
type: 'table',
label: '表格',
title: '表格',
border: 'border1',
border: 'border6',
width: 650,
height: 400,
zIndex: 1,