标题统一

qianming 2 years ago
parent f8fdf4c953
commit 0e8f0420e7

@ -58,7 +58,7 @@ export const widgetBarCompare = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
@ -66,7 +66,7 @@ export const widgetBarCompare = {
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -80,6 +80,14 @@ export const widgetBarCompare = {
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -95,12 +103,17 @@ export const widgetBarCompare = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -115,6 +128,57 @@ export const widgetBarCompare = {
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题名',
name: 'subText',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '字体颜色',
name: 'subTextColor',
required: false,
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},
{

@ -310,7 +310,7 @@ export const widgetBarLineStack = {
{
type: 'el-input-text',
label: '轴别名',
name: 'xName',
name: 'nameX',
required: false,
placeholder: '',
value: ''
@ -318,7 +318,7 @@ export const widgetBarLineStack = {
{
type: 'vue-color',
label: '别名颜色',
name: 'xNameColor',
name: 'nameColorX',
required: false,
placeholder: '',
value: '#fff'
@ -326,7 +326,7 @@ export const widgetBarLineStack = {
{
type: 'el-input-number',
label: '别名字号',
name: 'xNameFontSize',
name: 'nameFontSizeX',
required: false,
placeholder: '',
value: 14

@ -78,7 +78,7 @@ export const widgetBarStack = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
@ -86,7 +86,7 @@ export const widgetBarStack = {
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -100,6 +100,14 @@ export const widgetBarStack = {
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -107,20 +115,25 @@ export const widgetBarStack = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -129,15 +142,15 @@ export const widgetBarStack = {
required: false,
placeholder: '',
selectOptions: [
{code: 'center', name: '居中'},
{code: 'left', name: '左对齐'},
{code: 'right', name: '右对齐'},
{ code: 'center', name: '居中' },
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -151,6 +164,14 @@ export const widgetBarStack = {
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -158,20 +179,25 @@ export const widgetBarStack = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -74,7 +74,7 @@ export const widgetBarchart = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
@ -82,7 +82,7 @@ export const widgetBarchart = {
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -96,6 +96,14 @@ export const widgetBarchart = {
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -111,12 +119,17 @@ export const widgetBarchart = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -133,7 +146,7 @@ export const widgetBarchart = {
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -147,6 +160,14 @@ export const widgetBarchart = {
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -162,12 +183,17 @@ export const widgetBarchart = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -119,19 +119,19 @@ export const widgetBarlinechart = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -139,7 +139,15 @@ export const widgetBarlinechart = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -156,12 +164,17 @@ export const widgetBarlinechart = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -174,11 +187,11 @@ export const widgetBarlinechart = {
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'left'
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -190,7 +203,15 @@ export const widgetBarlinechart = {
name: 'subTextColor',
required: false,
placeholder: '',
value: '#fff'
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -207,12 +228,17 @@ export const widgetBarlinechart = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -66,7 +66,7 @@ export const widgetGradientBarchart = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
@ -74,7 +74,7 @@ export const widgetGradientBarchart = {
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -86,7 +86,15 @@ export const widgetGradientBarchart = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -95,20 +103,25 @@ export const widgetGradientBarchart = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 22
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -117,15 +130,15 @@ export const widgetGradientBarchart = {
required: false,
placeholder: '',
selectOptions: [
{code: 'center', name: '居中'},
{code: 'left', name: '左对齐'},
{code: 'right', name: '右对齐'},
{ code: 'center', name: '居中' },
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -137,29 +150,42 @@ export const widgetGradientBarchart = {
name: 'subTextColor',
required: false,
placeholder: '',
value: '#90979c'
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-text',
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -111,19 +111,19 @@ export const widgetMoreBarLine = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -131,7 +131,15 @@ export const widgetMoreBarLine = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -148,12 +156,17 @@ export const widgetMoreBarLine = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -166,11 +179,11 @@ export const widgetMoreBarLine = {
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'left'
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -182,7 +195,15 @@ export const widgetMoreBarLine = {
name: 'subTextColor',
required: false,
placeholder: '',
value: '#fff'
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -199,12 +220,17 @@ export const widgetMoreBarLine = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -45,15 +45,15 @@ export const widgetFunnel = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: false,
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -67,6 +67,14 @@ export const widgetFunnel = {
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -82,12 +90,17 @@ export const widgetFunnel = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -104,7 +117,7 @@ export const widgetFunnel = {
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -118,6 +131,14 @@ export const widgetFunnel = {
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -133,12 +154,17 @@ export const widgetFunnel = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 16
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -37,19 +37,19 @@ export const widgetHeatmap = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -57,7 +57,15 @@ export const widgetHeatmap = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -74,12 +82,17 @@ export const widgetHeatmap = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 16
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -96,7 +109,7 @@ export const widgetHeatmap = {
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -108,7 +121,15 @@ export const widgetHeatmap = {
name: 'subTextColor',
required: false,
placeholder: '',
value: ''
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -125,12 +146,17 @@ export const widgetHeatmap = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 16
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -90,7 +90,7 @@ export const widgetLineCompare = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
@ -98,7 +98,7 @@ export const widgetLineCompare = {
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -112,6 +112,14 @@ export const widgetLineCompare = {
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -127,12 +135,17 @@ export const widgetLineCompare = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -147,6 +160,57 @@ export const widgetLineCompare = {
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题名',
name: 'subText',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '字体颜色',
name: 'subTextColor',
required: false,
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},
{

@ -98,7 +98,7 @@ export const widgetLineStack = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
@ -106,7 +106,7 @@ export const widgetLineStack = {
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -120,6 +120,14 @@ export const widgetLineStack = {
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -135,12 +143,17 @@ export const widgetLineStack = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -157,7 +170,7 @@ export const widgetLineStack = {
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -171,6 +184,14 @@ export const widgetLineStack = {
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
@ -186,12 +207,17 @@ export const widgetLineStack = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -90,15 +90,15 @@ export const widgetLinechart = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: false
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
@ -110,7 +110,15 @@ export const widgetLinechart = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -119,20 +127,25 @@ export const widgetLinechart = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -141,15 +154,15 @@ export const widgetLinechart = {
required: false,
placeholder: '',
selectOptions: [
{code: 'center', name: '居中'},
{code: 'left', name: '左对齐'},
{code: 'right', name: '右对齐'},
{ code: 'center', name: '居中' },
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -161,7 +174,15 @@ export const widgetLinechart = {
name: 'subTextColor',
required: false,
placeholder: '',
value: '#fff'
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -170,20 +191,25 @@ export const widgetLinechart = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -37,19 +37,19 @@ export const widgetAirbubbleMap = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -57,7 +57,15 @@ export const widgetAirbubbleMap = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -66,20 +74,25 @@ export const widgetAirbubbleMap = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -88,15 +101,15 @@ export const widgetAirbubbleMap = {
required: false,
placeholder: '',
selectOptions: [
{code: 'center', name: '居中'},
{code: 'left', name: '左对齐'},
{code: 'right', name: '右对齐'},
{ code: 'center', name: '居中' },
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'left'
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -108,7 +121,15 @@ export const widgetAirbubbleMap = {
name: 'subTextColor',
required: false,
placeholder: '',
value: ''
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -117,20 +138,25 @@ export const widgetAirbubbleMap = {
required: false,
placeholder: '',
selectOptions: [
{code: 'normal', name: '正常'},
{code: 'bold', name: '粗体'},
{code: 'bolder', name: '特粗体'},
{code: 'lighter', name: '细体'}
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 12
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -36,19 +36,19 @@ export const widgetLineMap = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -56,7 +56,15 @@ export const widgetLineMap = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -73,12 +81,17 @@ export const widgetLineMap = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -95,7 +108,7 @@ export const widgetLineMap = {
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -107,7 +120,15 @@ export const widgetLineMap = {
name: 'subTextColor',
required: false,
placeholder: '',
value: ''
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -124,12 +145,17 @@ export const widgetLineMap = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 12
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -49,19 +49,19 @@ export const widgetPieNightingale = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -69,7 +69,15 @@ export const widgetPieNightingale = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -86,12 +94,17 @@ export const widgetPieNightingale = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -104,11 +117,11 @@ export const widgetPieNightingale = {
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'left'
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -120,7 +133,15 @@ export const widgetPieNightingale = {
name: 'subTextColor',
required: false,
placeholder: '',
value: ''
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -137,12 +158,17 @@ export const widgetPieNightingale = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 12
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -49,19 +49,19 @@ export const widgetPiechart = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -69,7 +69,15 @@ export const widgetPiechart = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -86,12 +94,17 @@ export const widgetPiechart = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -104,11 +117,11 @@ export const widgetPiechart = {
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'left'
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -120,7 +133,15 @@ export const widgetPiechart = {
name: 'subTextColor',
required: false,
placeholder: '',
value: ''
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -137,12 +158,17 @@ export const widgetPiechart = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 12
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -26,6 +26,134 @@ export const widgetRadar = {
value: ''
},
[
{
name: '标题设置',
list: [
{
type: 'el-switch',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true,
},
{
type: 'el-input-text',
label: '标题名',
name: 'titleText',
required: false,
placeholder: '',
value: '',
},
{
type: 'vue-color',
label: '字体颜色',
name: 'textColor',
required: false,
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'textFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
label: '字体位置',
name: 'textAlign',
required: false,
placeholder: '',
selectOptions: [
{ code: 'center', name: '居中' },
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题名',
name: 'subText',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '字体颜色',
name: 'subTextColor',
required: false,
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},
{
name: '雷达设置',
list: [

@ -29,19 +29,19 @@ export const widgetWordCloud = {
list: [
{
type: 'el-switch',
label: '标题',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true
value: true,
},
{
type: 'el-input-text',
label: '标题',
label: '标题',
name: 'titleText',
required: false,
placeholder: '',
value: ''
value: '',
},
{
type: 'vue-color',
@ -49,7 +49,15 @@ export const widgetWordCloud = {
name: 'textColor',
required: false,
placeholder: '',
value: '#fff'
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -66,12 +74,17 @@ export const widgetWordCloud = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
value: 20
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
@ -84,11 +97,11 @@ export const widgetWordCloud = {
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'left'
value: 'center'
},
{
type: 'el-input-text',
label: '副标题',
label: '副标题',
name: 'subText',
required: false,
placeholder: '',
@ -100,7 +113,15 @@ export const widgetWordCloud = {
name: 'subTextColor',
required: false,
placeholder: '',
value: ''
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
@ -117,12 +138,17 @@ export const widgetWordCloud = {
value: 'normal'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
value: 12
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},

@ -286,15 +286,23 @@ export default {
},
//
setOptionsTitle() {
const optionsCollapse = this.optionsSetup;
const optionsSetup = this.optionsSetup;
const title = {};
title.text = optionsCollapse.titleText;
title.show = optionsCollapse.isNoTitle;
title.left = optionsCollapse.textAlign;
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsCollapse.textColor,
fontSize: optionsCollapse.textFontSize,
fontWeight: optionsCollapse.textFontWeight
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -166,10 +166,10 @@ export default {
//
show: optionsSetup.hideX,
//
name: optionsSetup.xName,
name: optionsSetup.nameX,
nameTextStyle: {
color: optionsSetup.xNameColor,
fontSize: optionsSetup.xNameFontSize
color: optionsSetup.nameColorX,
fontSize: optionsSetup.nameFontSizeX
},
//
inverse: optionsSetup.reversalX,
@ -206,17 +206,22 @@ export default {
const yAxis = [
{
type: "value",
splitNumber: optionsSetup.splitNumberLeft,//
show: optionsSetup.isShowYLeft, //
name: optionsSetup.textNameYLeft, //
nameTextStyle: { //
//
splitNumber: optionsSetup.splitNumberLeft,
//
show: optionsSetup.isShowYLeft,
//
name: optionsSetup.textNameYLeft,
//
nameTextStyle: {
color: optionsSetup.nameColorYLeft,
fontSize: optionsSetup.nameFontSizeYLeft
},
axisLabel: {
show: true,
textStyle: {
color: optionsSetup.colorYLeft, // y
//
color: optionsSetup.colorYLeft,
fontSize: optionsSetup.fontSizeYLeft
}
},
@ -232,17 +237,22 @@ export default {
},
{
type: "value",
splitNumber: optionsSetup.splitNumberRight,//
show: optionsSetup.isShowYRight, //
name: optionsSetup.textNameYRight, //
nameTextStyle: { //
//
splitNumber: optionsSetup.splitNumberRight,
//
show: optionsSetup.isShowYRight,
//
name: optionsSetup.textNameYRight,
//
nameTextStyle: {
color: optionsSetup.nameColorYRight,
fontSize: optionsSetup.nameFontSizeYRight
},
axisLabel: {
show: true,
textStyle: {
color: optionsSetup.colorYRight, // y
//
color: optionsSetup.colorYRight,
fontSize: optionsSetup.fontSizeYRight
}
},

@ -111,13 +111,15 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -111,15 +111,16 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
// X

@ -152,15 +152,16 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
// X
@ -168,20 +169,25 @@ export default {
const optionsSetup = this.optionsSetup;
const xAxis = {
type: "category",
show: optionsSetup.hideX, //
name: optionsSetup.xName, //
//
show: optionsSetup.hideX,
//
name: optionsSetup.nameX,
nameTextStyle: {
color: optionsSetup.nameColorX,
fontSize: optionsSetup.nameFontSizeX
},
nameRotate: optionsSetup.textAngle, //
inverse: optionsSetup.reversalX, //
//
inverse: optionsSetup.reversalX,
axisLabel: {
show: true,
interval: optionsSetup.textInterval, //
rotate: optionsSetup.textAngle, //
//
interval: optionsSetup.textInterval,
//
rotate: optionsSetup.textAngleX,
textStyle: {
color: optionsSetup.Xcolor, // x
//
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX
}
},
@ -206,25 +212,29 @@ export default {
const yAxis = [
{
type: "value",
splitNumber: optionsSetup.splitNumberLeft,//
show: optionsSetup.isShowYLeft, //
name: optionsSetup.textNameYLeft, //
nameTextStyle: { //
//
splitNumber: optionsSetup.splitNumberLeft,
//
show: optionsSetup.isShowYLeft,
//
name: optionsSetup.textNameYLeft,
//
nameTextStyle: {
color: optionsSetup.nameColorYLeft,
fontSize: optionsSetup.namefontSizeYLeft
fontSize: optionsSetup.nameFontSizeYLeft
},
inverse: optionsSetup.reversalY, //
axisLabel: {
show: true,
textStyle: {
color: optionsSetup.colorY, // y
fontSize: optionsSetup.fontSizeY
//
color: optionsSetup.colorYLeft,
fontSize: optionsSetup.fontSizeYLeft
}
},
axisLine: {
show: true,
lineStyle: {
color: optionsSetup.lineColorY
color: optionsSetup.lineColorYLeft
}
},
splitLine: {
@ -233,25 +243,29 @@ export default {
},
{
type: "value",
splitNumber: optionsSetup.splitNumberRight,//
show: optionsSetup.isShowYRight, //
name: optionsSetup.textNameYRight, //
nameTextStyle: { //
//
splitNumber: optionsSetup.splitNumberRight,
//
show: optionsSetup.isShowYRight,
//
name: optionsSetup.textNameYRight,
//
nameTextStyle: {
color: optionsSetup.nameColorYRight,
fontSize: optionsSetup.namefontSizeYRight
fontSize: optionsSetup.nameFontSizeYRight
},
inverse: optionsSetup.reversalY, //
axisLabel: {
show: true,
textStyle: {
color: optionsSetup.colorY, // y
fontSize: optionsSetup.fontSizeY
//
color: optionsSetup.colorYRight,
fontSize: optionsSetup.fontSizeYRight
}
},
axisLine: {
show: true,
lineStyle: {
color: optionsSetup.lineColorY
color: optionsSetup.lineColorYRight
}
},
splitLine: {

@ -181,15 +181,16 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
// X

@ -226,15 +226,16 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
// X

@ -150,21 +150,22 @@ export default {
//
setOptionsTitle() {
const optionsSetup = this.optionsSetup;
const title = {
text: optionsSetup.titleText,
show: optionsSetup.isNoTitle,
left: optionsSetup.textAlign,
textStyle: {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
},
subtext: optionsSetup.subText,
subtextStyle: {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
},
const title = {};
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -282,15 +282,23 @@ export default {
},
//
setOptionsTitle() {
const optionsCollapse = this.optionsSetup;
const optionsSetup = this.optionsSetup;
const title = {};
title.text = optionsCollapse.titleText;
title.show = optionsCollapse.isNoTitle;
title.left = optionsCollapse.textAlign;
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsCollapse.textColor,
fontSize: optionsCollapse.textFontSize,
fontWeight: optionsCollapse.textFontWeight
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -111,13 +111,15 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -117,13 +117,15 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -437,21 +437,23 @@ export default {
},
//
setOptionsTitle() {
const optionsCollapse = this.optionsSetup;
const optionsSetup = this.optionsSetup;
const title = {};
title.show = optionsCollapse.isNoTitle;
title.text = optionsCollapse.titleText;
title.left = optionsCollapse.textAlign;
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsCollapse.textColor,
fontSize: optionsCollapse.textFontSize,
fontWeight: optionsCollapse.textFontWeight
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsCollapse.subText;
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsCollapse.subTextColor,
fontWeight: optionsCollapse.subTextFontWeight,
fontSize: optionsCollapse.subTextFontSize
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -350,19 +350,21 @@ export default {
setOptionsTitle() {
const optionsSetup = this.optionsSetup;
const title = {};
title.show = optionsSetup.isNoTitle;
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

@ -100,13 +100,15 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
@ -176,7 +178,7 @@ export default {
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.legendColor,
fontSize: optionsSetup.fontSize
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.legendWidth;
},

@ -105,19 +105,21 @@ export default {
setOptionsTitle() {
const optionsSetup = this.optionsSetup;
const title = {};
title.show = optionsSetup.isNoTitle;
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
@ -175,7 +177,7 @@ export default {
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.legendColor,
fontSize: optionsSetup.fontSize
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.legendWidth;
},

@ -61,6 +61,7 @@ export default {
},
methods: {
editorOptions() {
this.setOptionsTitle();
this.setOptionIndicator();
this.setOptionsRadar();
this.setOptionsLegend();
@ -68,6 +69,28 @@ export default {
this.setOptionsMargin();
this.setOptionsData();
},
//
setOptionsTitle() {
const optionsSetup = this.optionsSetup;
const title = {};
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
//
setOptionIndicator() {
const optionsSetup = this.optionsSetup;
@ -105,7 +128,6 @@ export default {
this.options.radar.shape = optionsSetup.radarShape;
this.options.radar.splitNumber = optionsSetup.splitNumber;
},
//
setOptionsLegend() {
const optionsSetup = this.optionsSetup;
@ -200,7 +222,7 @@ export default {
for (const j in radarKeys) {
for (const k in val) {
if (val[k].name == name[i]) {
values[j] = val[k][radarKeys[j]];
values[j] = val[k][radarKeys[j]];
}
}
}

@ -111,8 +111,8 @@ export default {
setup: {},
data: {},
position: {},
leftMargin: null,
topMargin: null
/* leftMargin: null,
topMargin: null*/
}
};
},
@ -124,10 +124,10 @@ export default {
return this.value.position.height;
},
widgetsLeft() {
return this.value.position.left >= this.leftMargin ? this.leftMargin : this.value.position.left;
return this.value.position.left// >= this.leftMargin ? this.leftMargin : this.value.position.left;
},
widgetsTop() {
return this.value.position.top >= this.topMargin ? this.topMargin : this.value.position.top;
return this.value.position.top// >= this.topMargin ? this.topMargin : this.value.position.top;
},
widgetsZIndex() {
return this.value.position.zIndex || 1;
@ -140,7 +140,7 @@ export default {
this.$emit("onActivated", { index, left, top, width, height });
this.$refs.draggable.setActive(true);
// widgetworkbench
this.handleBoundary({ index, left, top, width, height })
//this.handleBoundary({ index, left, top, width, height })
},
handleBoundary({ index, left, top, width, height }) {
// workbenchX

@ -154,15 +154,16 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
// tooltip

@ -103,13 +103,15 @@ export default {
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},

Loading…
Cancel
Save