|
|
@ -4,7 +4,7 @@
|
|
|
|
* @Author: qianlishi
|
|
|
|
* @Author: qianlishi
|
|
|
|
* @Date: 2021-08-29 07:26:48
|
|
|
|
* @Date: 2021-08-29 07:26:48
|
|
|
|
* @LastEditors: qianlishi qianlishi@anji-plus.com
|
|
|
|
* @LastEditors: qianlishi qianlishi@anji-plus.com
|
|
|
|
* @LastEditTime: 2022-11-07 15:39:29
|
|
|
|
* @LastEditTime: 2023-01-10 14:04:14
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export const widgetBarlinechart = {
|
|
|
|
export const widgetBarlinechart = {
|
|
|
|
code: 'widget-barlinechart',
|
|
|
|
code: 'widget-barlinechart',
|
|
|
@ -23,6 +23,13 @@ export const widgetBarlinechart = {
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
value: '柱线图',
|
|
|
|
value: '柱线图',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
type: 'el-input-text',
|
|
|
|
|
|
|
|
label: '图层唯一标识',
|
|
|
|
|
|
|
|
name: 'uuid',
|
|
|
|
|
|
|
|
disabled: true,
|
|
|
|
|
|
|
|
value: 'widget-barlinechart' + Date.now()
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
type: 'vue-color',
|
|
|
|
type: 'vue-color',
|
|
|
|
label: '背景颜色',
|
|
|
|
label: '背景颜色',
|
|
|
@ -87,8 +94,8 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'circle', name: '实心点'},
|
|
|
|
{ code: 'circle', name: '实心点' },
|
|
|
|
{code: 'emptyCircle', name: '空心点'},
|
|
|
|
{ code: 'emptyCircle', name: '空心点' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'circle'
|
|
|
|
value: 'circle'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -168,10 +175,10 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'normal', name: '正常'},
|
|
|
|
{ code: 'normal', name: '正常' },
|
|
|
|
{code: 'bold', name: '粗体'},
|
|
|
|
{ code: 'bold', name: '粗体' },
|
|
|
|
{code: 'bolder', name: '特粗体'},
|
|
|
|
{ code: 'bolder', name: '特粗体' },
|
|
|
|
{code: 'lighter', name: '细体'}
|
|
|
|
{ code: 'lighter', name: '细体' }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -182,9 +189,9 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'normal', name: '正常'},
|
|
|
|
{ code: 'normal', name: '正常' },
|
|
|
|
{code: 'italic', name: 'italic斜体'},
|
|
|
|
{ code: 'italic', name: 'italic斜体' },
|
|
|
|
{code: 'oblique', name: 'oblique斜体'},
|
|
|
|
{ code: 'oblique', name: 'oblique斜体' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -195,9 +202,9 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'center', name: '居中'},
|
|
|
|
{ code: 'center', name: '居中' },
|
|
|
|
{code: 'left', name: '左对齐'},
|
|
|
|
{ code: 'left', name: '左对齐' },
|
|
|
|
{code: 'right', name: '右对齐'},
|
|
|
|
{ code: 'right', name: '右对齐' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'center'
|
|
|
|
value: 'center'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -232,10 +239,10 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'normal', name: '正常'},
|
|
|
|
{ code: 'normal', name: '正常' },
|
|
|
|
{code: 'bold', name: '粗体'},
|
|
|
|
{ code: 'bold', name: '粗体' },
|
|
|
|
{code: 'bolder', name: '特粗体'},
|
|
|
|
{ code: 'bolder', name: '特粗体' },
|
|
|
|
{code: 'lighter', name: '细体'}
|
|
|
|
{ code: 'lighter', name: '细体' }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -246,9 +253,9 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'normal', name: '正常'},
|
|
|
|
{ code: 'normal', name: '正常' },
|
|
|
|
{code: 'italic', name: 'italic斜体'},
|
|
|
|
{ code: 'italic', name: 'italic斜体' },
|
|
|
|
{code: 'oblique', name: 'oblique斜体'},
|
|
|
|
{ code: 'oblique', name: 'oblique斜体' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -304,9 +311,9 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'center', name: '居中'},
|
|
|
|
{ code: 'center', name: '居中' },
|
|
|
|
{code: 'left', name: '左对齐'},
|
|
|
|
{ code: 'left', name: '左对齐' },
|
|
|
|
{code: 'right', name: '右对齐'},
|
|
|
|
{ code: 'right', name: '右对齐' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'center'
|
|
|
|
value: 'center'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -317,8 +324,8 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'top', name: '顶部'},
|
|
|
|
{ code: 'top', name: '顶部' },
|
|
|
|
{code: 'bottom', name: '底部'},
|
|
|
|
{ code: 'bottom', name: '底部' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'top'
|
|
|
|
value: 'top'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -329,8 +336,8 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'vertical', name: '竖排'},
|
|
|
|
{ code: 'vertical', name: '竖排' },
|
|
|
|
{code: 'horizontal', name: '横排'},
|
|
|
|
{ code: 'horizontal', name: '横排' },
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'horizontal'
|
|
|
|
value: 'horizontal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -744,10 +751,10 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'normal', name: '正常'},
|
|
|
|
{ code: 'normal', name: '正常' },
|
|
|
|
{code: 'bold', name: '粗体'},
|
|
|
|
{ code: 'bold', name: '粗体' },
|
|
|
|
{code: 'bolder', name: '特粗体'},
|
|
|
|
{ code: 'bolder', name: '特粗体' },
|
|
|
|
{code: 'lighter', name: '细体'}
|
|
|
|
{ code: 'lighter', name: '细体' }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -795,10 +802,10 @@ export const widgetBarlinechart = {
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
placeholder: '',
|
|
|
|
placeholder: '',
|
|
|
|
selectOptions: [
|
|
|
|
selectOptions: [
|
|
|
|
{code: 'normal', name: '正常'},
|
|
|
|
{ code: 'normal', name: '正常' },
|
|
|
|
{code: 'bold', name: '粗体'},
|
|
|
|
{ code: 'bold', name: '粗体' },
|
|
|
|
{code: 'bolder', name: '特粗体'},
|
|
|
|
{ code: 'bolder', name: '特粗体' },
|
|
|
|
{code: 'lighter', name: '细体'}
|
|
|
|
{ code: 'lighter', name: '细体' }
|
|
|
|
],
|
|
|
|
],
|
|
|
|
value: 'normal'
|
|
|
|
value: 'normal'
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -867,7 +874,7 @@ export const widgetBarlinechart = {
|
|
|
|
label: '',
|
|
|
|
label: '',
|
|
|
|
name: 'customColor',
|
|
|
|
name: 'customColor',
|
|
|
|
required: false,
|
|
|
|
required: false,
|
|
|
|
value: [{color: '#ff7f50'}, {color: '#87cefa'}, {color: '#da70d6'}, {color: '#32cd32'}, {color: '#6495ed'}],
|
|
|
|
value: [{ color: '#ff7f50' }, { color: '#87cefa' }, { color: '#da70d6' }, { color: '#32cd32' }, { color: '#6495ed' }],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -911,18 +918,18 @@ export const widgetBarlinechart = {
|
|
|
|
relactiveDom: 'dataType',
|
|
|
|
relactiveDom: 'dataType',
|
|
|
|
relactiveDomValue: 'staticData',
|
|
|
|
relactiveDomValue: 'staticData',
|
|
|
|
value: [
|
|
|
|
value: [
|
|
|
|
{"axis": "1月", "bar": 2.6, "line": 2},
|
|
|
|
{ "axis": "1月", "bar": 2.6, "line": 2 },
|
|
|
|
{"axis": "2月", "bar": 5.9, "line": 2.2},
|
|
|
|
{ "axis": "2月", "bar": 5.9, "line": 2.2 },
|
|
|
|
{"axis": "3月", "bar": 9, "line": 3.3},
|
|
|
|
{ "axis": "3月", "bar": 9, "line": 3.3 },
|
|
|
|
{"axis": "4月", "bar": 26.4, "line": 4.5},
|
|
|
|
{ "axis": "4月", "bar": 26.4, "line": 4.5 },
|
|
|
|
{"axis": "5月", "bar": 28.7, "line": 6.3},
|
|
|
|
{ "axis": "5月", "bar": 28.7, "line": 6.3 },
|
|
|
|
{"axis": "6月", "bar": 70.7, "line": 10.2},
|
|
|
|
{ "axis": "6月", "bar": 70.7, "line": 10.2 },
|
|
|
|
{"axis": "7月", "bar": 175.6, "line": 20.3},
|
|
|
|
{ "axis": "7月", "bar": 175.6, "line": 20.3 },
|
|
|
|
{"axis": "8月", "bar": 182.2, "line": 23.4},
|
|
|
|
{ "axis": "8月", "bar": 182.2, "line": 23.4 },
|
|
|
|
{"axis": "9月", "bar": 48.7, "line": 23},
|
|
|
|
{ "axis": "9月", "bar": 48.7, "line": 23 },
|
|
|
|
{"axis": "10月", "bar": 18.8, "line": 16.5},
|
|
|
|
{ "axis": "10月", "bar": 18.8, "line": 16.5 },
|
|
|
|
{"axis": "11月", "bar": 6, "line": 12},
|
|
|
|
{ "axis": "11月", "bar": 6, "line": 12 },
|
|
|
|
{"axis": "12月", "bar": 2.3, "line": 6.2},
|
|
|
|
{ "axis": "12月", "bar": 2.3, "line": 6.2 },
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|