XY配置项调整

qianming 2 years ago
parent d54f56ad80
commit 8773ecad0c

@ -320,7 +320,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -328,7 +328,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -336,7 +336,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -344,7 +344,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -352,7 +352,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -360,12 +360,20 @@ export const widgetBarStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -381,7 +389,15 @@ export const widgetBarStack = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {
@ -461,7 +477,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalY', name: 'reversalY',
required: false, required: false,
placeholder: '', placeholder: '',
@ -469,12 +485,20 @@ export const widgetBarStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorY', name: 'lineColorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthY',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -491,6 +515,14 @@ export const widgetBarStack = {
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthY',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -234,7 +234,7 @@ export const widgetBarchart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -266,7 +266,7 @@ export const widgetBarchart = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -274,12 +274,20 @@ export const widgetBarchart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -295,7 +303,15 @@ export const widgetBarchart = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {
@ -375,7 +391,7 @@ export const widgetBarchart = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalY', name: 'reversalY',
required: false, required: false,
placeholder: '', placeholder: '',
@ -383,12 +399,20 @@ export const widgetBarchart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorY', name: 'lineColorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthY',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -405,6 +429,14 @@ export const widgetBarchart = {
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthY',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -226,7 +226,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -234,7 +234,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -242,7 +242,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -250,7 +250,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -258,7 +258,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -266,12 +266,20 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -287,7 +295,15 @@ export const widgetGradientBarchart = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -333,7 +333,7 @@ export const widgetBarLineStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -341,7 +341,7 @@ export const widgetBarLineStack = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -349,7 +349,7 @@ export const widgetBarLineStack = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -357,7 +357,7 @@ export const widgetBarLineStack = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -365,7 +365,7 @@ export const widgetBarLineStack = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -373,12 +373,20 @@ export const widgetBarLineStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -394,7 +402,15 @@ export const widgetBarLineStack = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -361,7 +361,7 @@ export const widgetBarlinechart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -369,7 +369,7 @@ export const widgetBarlinechart = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -377,7 +377,7 @@ export const widgetBarlinechart = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -385,7 +385,7 @@ export const widgetBarlinechart = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -393,7 +393,7 @@ export const widgetBarlinechart = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -401,12 +401,20 @@ export const widgetBarlinechart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -422,7 +430,15 @@ export const widgetBarlinechart = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -353,7 +353,7 @@ export const widgetMoreBarLine = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -361,7 +361,7 @@ export const widgetMoreBarLine = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -369,7 +369,7 @@ export const widgetMoreBarLine = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -377,7 +377,7 @@ export const widgetMoreBarLine = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -385,7 +385,7 @@ export const widgetMoreBarLine = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -393,12 +393,20 @@ export const widgetMoreBarLine = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -414,7 +422,15 @@ export const widgetMoreBarLine = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -173,76 +173,84 @@ export const widgetHeatmap = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: 'X轴别名', label: '坐标名',
name: 'xName', name: 'nameX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: ''
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '名颜色', label: '坐标名颜色',
name: 'xNameColor', name: 'nameColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#fff'
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '名字号', label: '坐标名字号',
name: 'xNameFontSize', name: 'nameFontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
value: 14 value: 14
}, },
{ {
type: 'el-switch', type: 'vue-color',
label: '轴反转', label: '数值颜色',
name: 'reversalX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: false value: '#fff',
}, },
{ {
type: 'el-slider', type: 'el-input-number',
label: '文字角度', label: '数值字号',
name: 'textAngleX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
value: 0 value: 14,
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: ''
}, },
{ {
type: 'vue-color', type: 'el-slider',
label: '文字颜色', label: '数值角度',
name: 'Xcolor', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: 0
}, },
{ {
type: 'el-input-number', type: 'el-switch',
label: '文字字号', label: '坐标轴反转',
name: 'fontSizeX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
value: 14, value: false
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {
@ -258,7 +266,7 @@ export const widgetHeatmap = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: 'Y轴别名', label: '坐标名',
name: 'textNameY', name: 'textNameY',
require: false, require: false,
placeholder: '', placeholder: '',
@ -266,59 +274,83 @@ export const widgetHeatmap = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '别名颜色', label: '坐标名颜色',
name: 'NameColorY', name: 'nameColorY',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '坐标名字号',
name: 'nameFontSizeY',
required: false,
placeholder: '',
value: 14,
},
{
type: 'vue-color',
label: '数值颜色',
name: 'colorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '别名字号', label: '数值字号',
name: 'NameFontSizeY', name: 'fontSizeY',
required: false, required: false,
placeholder: '', placeholder: '',
value: 14, value: 14,
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '缩放',
name: 'reversalY', name: 'scale',
require: false,
placeholder: '',
value: false,
},
{
type: 'el-input-number',
label: '均分',
name: 'splitNumberY',
required: false, required: false,
placeholder: '', placeholder: '',
value: false value: ''
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleY', name: 'textAngleY',
required: false, required: false,
placeholder: '', placeholder: '',
value: 0 value: 0
}, },
{ {
type: 'vue-color', type: 'el-switch',
label: '文字颜色', label: '坐标轴反转',
name: 'colorY', name: 'reversalY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: false
}, },
{ {
type: 'el-input-number', type: 'vue-color',
label: '文字字号', label: '坐标轴颜色',
name: 'fontSizeY', name: 'lineColorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: 14, value: '#fff',
}, },
{ {
type: 'vue-color', type: 'el-input-number',
label: '轴颜色', label: '坐标轴宽度',
name: 'lineColorY', name: 'lineWidthY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: 1,
}, },
], ],
}, },

@ -340,7 +340,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -348,7 +348,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -356,7 +356,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -364,7 +364,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -372,7 +372,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -380,12 +380,20 @@ export const widgetLineStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -401,7 +409,15 @@ export const widgetLineStack = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {
@ -481,7 +497,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalY', name: 'reversalY',
required: false, required: false,
placeholder: '', placeholder: '',
@ -489,12 +505,20 @@ export const widgetLineStack = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorY', name: 'lineColorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthY',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -511,6 +535,14 @@ export const widgetLineStack = {
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthY',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -250,7 +250,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '文字颜色', label: '数值颜色',
name: 'colorX', name: 'colorX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -258,7 +258,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字字号', label: '数值字号',
name: 'fontSizeX', name: 'fontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -266,7 +266,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'el-input-number', type: 'el-input-number',
label: '文字间隔', label: '数值间隔',
name: 'textInterval', name: 'textInterval',
required: false, required: false,
placeholder: '', placeholder: '',
@ -274,7 +274,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'el-slider', type: 'el-slider',
label: '文字角度', label: '数值角度',
name: 'textAngleX', name: 'textAngleX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -282,7 +282,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalX', name: 'reversalX',
required: false, required: false,
placeholder: '', placeholder: '',
@ -290,12 +290,20 @@ export const widgetLinechart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorX', name: 'lineColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -311,7 +319,15 @@ export const widgetLinechart = {
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
} },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthX',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {
@ -391,7 +407,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'el-switch', type: 'el-switch',
label: '轴反转', label: '坐标轴反转',
name: 'reversalY', name: 'reversalY',
required: false, required: false,
placeholder: '', placeholder: '',
@ -399,12 +415,20 @@ export const widgetLinechart = {
}, },
{ {
type: 'vue-color', type: 'vue-color',
label: '轴颜色', label: '坐标轴颜色',
name: 'lineColorY', name: 'lineColorY',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthY',
required: false,
placeholder: '',
value: 1,
},
{ {
type: 'el-switch', type: 'el-switch',
label: '分割线显示', label: '分割线显示',
@ -421,6 +445,14 @@ export const widgetLinechart = {
placeholder: '', placeholder: '',
value: '#fff', value: '#fff',
}, },
{
type: 'el-input-number',
label: '分割线宽度',
name: 'splitLineWidthY',
required: false,
placeholder: '',
value: 1,
},
], ],
}, },
{ {

@ -153,13 +153,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };
@ -196,13 +198,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorY,
width: optionsSetup.lineWidthY,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineY, show: optionsSetup.isShowSplitLineY,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorY color: optionsSetup.splitLineColorY,
width: optionsSetup.splitLineWidthY,
} }
} }
}; };

@ -153,13 +153,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };
@ -196,13 +198,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorY,
width: optionsSetup.lineWidthY,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineY, show: optionsSetup.isShowSplitLineY,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorY color: optionsSetup.splitLineColorY,
width: optionsSetup.splitLineWidthY,
} }
} }
}; };

@ -223,13 +223,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };
@ -266,13 +268,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorY,
width: optionsSetup.lineWidthY,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineY, show: optionsSetup.isShowSplitLineY,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorY color: optionsSetup.splitLineColorY,
width: optionsSetup.splitLineWidthY,
} }
} }
}; };

@ -188,13 +188,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };

@ -194,13 +194,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };

@ -268,13 +268,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };

@ -177,10 +177,10 @@ export default {
// //
show: optionsSetup.hideX, show: optionsSetup.hideX,
// //
name: optionsSetup.xName, name: optionsSetup.nameX,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.xNameColor, color: optionsSetup.nameColorX,
fontSize: optionsSetup.xNameFontSize fontSize: optionsSetup.nameFontSizeX
}, },
// //
inverse: optionsSetup.reversalX, inverse: optionsSetup.reversalX,
@ -192,19 +192,17 @@ export default {
rotate: optionsSetup.textAngleX, rotate: optionsSetup.textAngleX,
textStyle: { textStyle: {
// //
color: optionsSetup.Xcolor, color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX fontSize: optionsSetup.fontSizeX
} }
}, },
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitArea: {
show: false,
},
}; };
this.options.xAxis = xAxis; this.options.xAxis = xAxis;
}, },
@ -212,16 +210,19 @@ export default {
setOptionsY() { setOptionsY() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const yAxis = { const yAxis = {
type: "category", type: "value",
scale: optionsSetup.scale,
//
splitNumber: optionsSetup.splitNumberY,
// //
show: optionsSetup.isShowY, show: optionsSetup.isShowY,
// //
name: optionsSetup.textNameY, name: optionsSetup.textNameY,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.NameColorY, color: optionsSetup.nameColorY,
fontSize: optionsSetup.NameFontSizeY fontSize: optionsSetup.nameFontSizeY
}, },
// y //
inverse: optionsSetup.reversalY, inverse: optionsSetup.reversalY,
axisLabel: { axisLabel: {
show: true, show: true,
@ -236,12 +237,10 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorY,
width: optionsSetup.lineWidthY,
} }
}, },
splitArea: {
show: false,
},
}; };
this.options.yAxis = yAxis; this.options.yAxis = yAxis;
}, },

@ -153,13 +153,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };
@ -196,13 +198,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorY,
width: optionsSetup.lineWidthY,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineY, show: optionsSetup.isShowSplitLineY,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorY color: optionsSetup.splitLineColorY,
width: optionsSetup.splitLineWidthY,
} }
} }
}; };

@ -159,13 +159,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorX color: optionsSetup.lineColorX,
width: optionsSetup.lineWidthX,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineX, show: optionsSetup.isShowSplitLineX,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorX color: optionsSetup.splitLineColorX,
width: optionsSetup.splitLineWidthX,
} }
} }
}; };
@ -202,13 +204,15 @@ export default {
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorY,
width: optionsSetup.lineWidthY,
} }
}, },
splitLine: { splitLine: {
show: optionsSetup.isShowSplitLineY, show: optionsSetup.isShowSplitLineY,
lineStyle: { lineStyle: {
color: optionsSetup.splitLineColorY color: optionsSetup.splitLineColorY,
width: optionsSetup.splitLineWidthY,
} }
} }
}; };

Loading…
Cancel
Save