XY配置项调整

qianming 2 years ago
parent d54f56ad80
commit 8773ecad0c

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

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

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

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

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

@ -353,7 +353,7 @@ export const widgetMoreBarLine = {
},
{
type: 'vue-color',
label: '文字颜色',
label: '数值颜色',
name: 'colorX',
required: false,
placeholder: '',
@ -361,7 +361,7 @@ export const widgetMoreBarLine = {
},
{
type: 'el-input-number',
label: '文字字号',
label: '数值字号',
name: 'fontSizeX',
required: false,
placeholder: '',
@ -369,7 +369,7 @@ export const widgetMoreBarLine = {
},
{
type: 'el-input-number',
label: '文字间隔',
label: '数值间隔',
name: 'textInterval',
required: false,
placeholder: '',
@ -377,7 +377,7 @@ export const widgetMoreBarLine = {
},
{
type: 'el-slider',
label: '文字角度',
label: '数值角度',
name: 'textAngleX',
required: false,
placeholder: '',
@ -385,7 +385,7 @@ export const widgetMoreBarLine = {
},
{
type: 'el-switch',
label: '轴反转',
label: '坐标轴反转',
name: 'reversalX',
required: false,
placeholder: '',
@ -393,12 +393,20 @@ export const widgetMoreBarLine = {
},
{
type: 'vue-color',
label: '轴颜色',
label: '坐标轴颜色',
name: 'lineColorX',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthX',
required: false,
placeholder: '',
value: 1,
},
{
type: 'el-switch',
label: '分割线显示',
@ -414,7 +422,15 @@ export const widgetMoreBarLine = {
required: false,
placeholder: '',
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',
label: 'X轴别名',
name: 'xName',
label: '坐标名',
name: 'nameX',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '名颜色',
name: 'xNameColor',
label: '坐标名颜色',
name: 'nameColorX',
required: false,
placeholder: '',
value: '#fff'
},
{
type: 'el-input-number',
label: '名字号',
name: 'xNameFontSize',
label: '坐标名字号',
name: 'nameFontSizeX',
required: false,
placeholder: '',
value: 14
},
{
type: 'el-switch',
label: '轴反转',
name: 'reversalX',
type: 'vue-color',
label: '数值颜色',
name: 'colorX',
required: false,
placeholder: '',
value: false
value: '#fff',
},
{
type: 'el-slider',
label: '文字角度',
name: 'textAngleX',
type: 'el-input-number',
label: '数值字号',
name: 'fontSizeX',
required: false,
placeholder: '',
value: 0
value: 14,
},
{
type: 'el-input-number',
label: '文字间隔',
label: '数值间隔',
name: 'textInterval',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '文字颜色',
name: 'Xcolor',
type: 'el-slider',
label: '数值角度',
name: 'textAngleX',
required: false,
placeholder: '',
value: '#fff',
value: 0
},
{
type: 'el-input-number',
label: '文字字号',
name: 'fontSizeX',
type: 'el-switch',
label: '坐标轴反转',
name: 'reversalX',
required: false,
placeholder: '',
value: 14,
value: false
},
{
type: 'vue-color',
label: '轴颜色',
label: '坐标轴颜色',
name: 'lineColorX',
required: false,
placeholder: '',
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',
label: 'Y轴别名',
label: '坐标名',
name: 'textNameY',
require: false,
placeholder: '',
@ -266,59 +274,83 @@ export const widgetHeatmap = {
},
{
type: 'vue-color',
label: '别名颜色',
name: 'NameColorY',
label: '坐标名颜色',
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,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '别名字号',
name: 'NameFontSizeY',
label: '数值字号',
name: 'fontSizeY',
required: false,
placeholder: '',
value: 14,
},
{
type: 'el-switch',
label: '轴反转',
name: 'reversalY',
label: '缩放',
name: 'scale',
require: false,
placeholder: '',
value: false,
},
{
type: 'el-input-number',
label: '均分',
name: 'splitNumberY',
required: false,
placeholder: '',
value: false
value: ''
},
{
type: 'el-slider',
label: '文字角度',
label: '数值角度',
name: 'textAngleY',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '文字颜色',
name: 'colorY',
type: 'el-switch',
label: '坐标轴反转',
name: 'reversalY',
required: false,
placeholder: '',
value: '#fff',
value: false
},
{
type: 'el-input-number',
label: '文字字号',
name: 'fontSizeY',
type: 'vue-color',
label: '坐标轴颜色',
name: 'lineColorY',
required: false,
placeholder: '',
value: 14,
value: '#fff',
},
{
type: 'vue-color',
label: '轴颜色',
name: 'lineColorY',
type: 'el-input-number',
label: '坐标轴宽度',
name: 'lineWidthY',
required: false,
placeholder: '',
value: '#fff',
value: 1,
},
],
},

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save