多维表数据设置面板完成

This commit is contained in:
aixianling
2023-10-07 18:04:34 +08:00
parent 03272542b9
commit fa551fe618
5 changed files with 218 additions and 159 deletions

View File

@@ -1,3 +1,7 @@
/**
* 大屏设计组件库,模板设置中心
*
*/
const components = [
{
type: 'chart',
@@ -454,6 +458,36 @@ const components = [
dynamicData: []
}
]
},
{
label: "多维图",
type: "plot",
list: [
{
type: 'plot',
label: '多维图表',
title: '多维图表',
border: 'border0',
width: 500,
height: 300,
top: 0,
left: 0,
thumb: 'https://cdn.cunwuyun.cn/dvcp/dv/tpl/pie.png',
charts: [
{
title: "饼状图统计",
chart: "pieChart2", dataType: 'staticData',
data: [
{name: '阿斯达', v1: 23, v2: 33},
{name: '水电费', v1: 12, v2: 34},
{name: '凡哥', v1: 67, v2: 25},
{name: '党费', v1: 98, v2: 85}
]
}
],
}
]
}
]
},