柱、线图XY配置项调整

qianming 2 years ago
parent a46860af15
commit 9a81554047

@ -296,43 +296,43 @@ export const widgetBarStack = {
},
{
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',
@ -343,20 +343,20 @@ export const widgetBarStack = {
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',
@ -381,7 +381,6 @@ export const widgetBarStack = {
required: false,
placeholder: '',
value: '#fff',
}
],
},
@ -398,7 +397,7 @@ export const widgetBarStack = {
},
{
type: 'el-input-text',
label: 'Y轴别名',
label: '坐标名',
name: 'textNameY',
require: false,
placeholder: '',
@ -406,51 +405,67 @@ export const widgetBarStack = {
},
{
type: 'vue-color',
label: '别名颜色',
name: 'NameColorY',
label: '坐标名颜色',
name: 'nameColorY',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '别名字号',
name: 'NameFontSizeY',
label: '坐标名字号',
name: 'nameFontSizeY',
required: false,
placeholder: '',
value: 14,
},
{
type: 'el-switch',
label: '轴反转',
name: 'reversalY',
type: 'vue-color',
label: '数值颜色',
name: 'colorY',
required: false,
placeholder: '',
value: false
value: '#fff',
},
{
type: 'el-slider',
label: '文字角度',
name: 'textAngleY',
type: 'el-input-number',
label: '数值字号',
name: 'fontSizeY',
required: false,
placeholder: '',
value: 0
value: 14,
},
{
type: 'vue-color',
label: '文字颜色',
name: 'colorY',
required: false,
type: 'el-switch',
label: '缩放',
name: 'scale',
require: false,
placeholder: '',
value: '#fff',
value: false,
},
{
type: 'el-input-number',
label: '文字字号',
name: 'fontSizeY',
label: '均分',
name: 'splitNumberY',
required: false,
placeholder: '',
value: 14,
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleY',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '轴反转',
name: 'reversalY',
required: false,
placeholder: '',
value: false
},
{
type: 'vue-color',
@ -467,14 +482,15 @@ export const widgetBarStack = {
require: false,
placeholder: '',
value: false,
}, {
},
{
type: 'vue-color',
label: '分割线颜色',
name: 'splitLineColorY',
required: false,
placeholder: '',
value: '#fff',
}
},
],
},
{

@ -211,7 +211,7 @@ export const widgetBarchart = {
{
type: 'el-input-text',
label: '坐标名',
name: 'xName',
name: 'nameX',
required: false,
placeholder: '',
value: ''
@ -226,7 +226,7 @@ export const widgetBarchart = {
},
{
type: 'el-input-number',
label: '坐标字号',
label: '坐标字号',
name: 'nameFontSizeX',
required: false,
placeholder: '',
@ -234,35 +234,35 @@ export const widgetBarchart = {
},
{
type: 'vue-color',
label: '数值颜色',
name: 'Xcolor',
label: '文字颜色',
name: 'colorX',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '数值字号',
label: '文字字号',
name: 'fontSizeX',
required: false,
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngle',
type: 'el-input-number',
label: '文字间隔',
name: 'textInterval',
required: false,
placeholder: '',
value: 0
value: ''
},
{
type: 'el-input-number',
label: '数值间隔',
name: 'textInterval',
type: 'el-slider',
label: '文字角度',
name: 'textAngleX',
required: false,
placeholder: '',
value: ''
value: 0
},
{
type: 'el-switch',
@ -295,7 +295,6 @@ export const widgetBarchart = {
required: false,
placeholder: '',
value: '#fff',
}
],
},
@ -328,7 +327,7 @@ export const widgetBarchart = {
},
{
type: 'el-input-number',
label: '坐标字号',
label: '坐标字号',
name: 'nameFontSizeY',
required: false,
placeholder: '',
@ -350,14 +349,6 @@ export const widgetBarchart = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'ytextAngle',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '缩放',
@ -369,11 +360,19 @@ export const widgetBarchart = {
{
type: 'el-input-number',
label: '均分',
name: 'splitNumber',
name: 'splitNumberY',
required: false,
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleY',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '轴反转',
@ -389,22 +388,23 @@ export const widgetBarchart = {
required: false,
placeholder: '',
value: '#fff',
}, {
},
{
type: 'el-switch',
label: '分割线显示',
name: 'isShowSplitLineY',
require: false,
placeholder: '',
value: false,
}, {
},
{
type: 'vue-color',
label: '分割线颜色',
name: 'splitLineColorY',
required: false,
placeholder: '',
value: '#fff',
}
},
],
},
{

@ -203,7 +203,7 @@ export const widgetGradientBarchart = {
{
type: 'el-input-text',
label: '坐标名',
name: 'xName',
name: 'nameX',
required: false,
placeholder: '',
value: ''
@ -214,47 +214,47 @@ export const widgetGradientBarchart = {
name: 'nameColorX',
required: false,
placeholder: '',
value: '#fff',
value: '#fff'
},
{
type: 'el-input-number',
label: '坐标字号',
label: '坐标字号',
name: 'nameFontSizeX',
required: false,
placeholder: '',
value: 14,
value: 14
},
{
type: 'vue-color',
label: '数值颜色',
name: 'Xcolor',
label: '文字颜色',
name: 'colorX',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '数值字号',
label: '文字字号',
name: 'fontSizeX',
required: false,
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngle',
type: 'el-input-number',
label: '文字间隔',
name: 'textInterval',
required: false,
placeholder: '',
value: 0
value: ''
},
{
type: 'el-input-number',
label: '数值间隔',
name: 'textInterval',
type: 'el-slider',
label: '文字角度',
name: 'textAngleX',
required: false,
placeholder: '',
value: ''
value: 0
},
{
type: 'el-switch',
@ -308,7 +308,8 @@ export const widgetGradientBarchart = {
require: false,
placeholder: '',
value: ''
}, {
},
{
type: 'vue-color',
label: '坐标名颜色',
name: 'nameColorY',
@ -318,8 +319,8 @@ export const widgetGradientBarchart = {
},
{
type: 'el-input-number',
label: '坐标字号',
name: 'namefontSizeY',
label: '坐标字号',
name: 'nameFontSizeY',
required: false,
placeholder: '',
value: 14,
@ -340,14 +341,6 @@ export const widgetGradientBarchart = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'ytextAngle',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '缩放',
@ -359,11 +352,19 @@ export const widgetGradientBarchart = {
{
type: 'el-input-number',
label: '均分',
name: 'splitNumber',
name: 'splitNumberY',
required: false,
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleY',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '轴反转',
@ -395,7 +396,7 @@ export const widgetGradientBarchart = {
required: false,
placeholder: '',
value: '#fff',
}
},
],
},
{

@ -309,7 +309,7 @@ export const widgetBarLineStack = {
},
{
type: 'el-input-text',
label: '轴别名',
label: '坐标名',
name: 'nameX',
required: false,
placeholder: '',
@ -317,7 +317,7 @@ export const widgetBarLineStack = {
},
{
type: 'vue-color',
label: '名颜色',
label: '坐标名颜色',
name: 'nameColorX',
required: false,
placeholder: '',
@ -325,27 +325,27 @@ export const widgetBarLineStack = {
},
{
type: 'el-input-number',
label: '名字号',
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',
@ -356,20 +356,20 @@ export const widgetBarLineStack = {
value: ''
},
{
type: 'vue-color',
label: '文字颜色',
name: 'colorX',
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',
@ -448,14 +448,6 @@ export const widgetBarLineStack = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYLeft',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-input-number',
label: '均分',
@ -464,6 +456,14 @@ export const widgetBarLineStack = {
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYLeft',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '轴颜色',
@ -535,14 +535,6 @@ export const widgetBarLineStack = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYRight',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-input-number',
label: '均分',
@ -551,6 +543,14 @@ export const widgetBarLineStack = {
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYRight',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '轴颜色',

@ -337,7 +337,7 @@ export const widgetBarlinechart = {
},
{
type: 'el-input-text',
label: '轴别名',
label: '坐标名',
name: 'nameX',
required: false,
placeholder: '',
@ -345,7 +345,7 @@ export const widgetBarlinechart = {
},
{
type: 'vue-color',
label: '名颜色',
label: '坐标名颜色',
name: 'nameColorX',
required: false,
placeholder: '',
@ -353,27 +353,27 @@ export const widgetBarlinechart = {
},
{
type: 'el-input-number',
label: '名字号',
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',
@ -384,20 +384,20 @@ export const widgetBarlinechart = {
value: ''
},
{
type: 'vue-color',
label: '文字颜色',
name: 'colorX',
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',
@ -476,14 +476,6 @@ export const widgetBarlinechart = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYLeft',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-input-number',
label: '均分',
@ -492,6 +484,14 @@ export const widgetBarlinechart = {
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYLeft',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '轴颜色',
@ -563,14 +563,6 @@ export const widgetBarlinechart = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYRight',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-input-number',
label: '均分',
@ -579,6 +571,14 @@ export const widgetBarlinechart = {
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYRight',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '轴颜色',

@ -329,7 +329,7 @@ export const widgetMoreBarLine = {
},
{
type: 'el-input-text',
label: '轴别名',
label: '坐标名',
name: 'nameX',
required: false,
placeholder: '',
@ -337,7 +337,7 @@ export const widgetMoreBarLine = {
},
{
type: 'vue-color',
label: '名颜色',
label: '坐标名颜色',
name: 'nameColorX',
required: false,
placeholder: '',
@ -345,27 +345,27 @@ export const widgetMoreBarLine = {
},
{
type: 'el-input-number',
label: '名字号',
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',
@ -376,20 +376,20 @@ export const widgetMoreBarLine = {
value: ''
},
{
type: 'vue-color',
label: '文字颜色',
name: 'colorX',
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',
@ -468,14 +468,6 @@ export const widgetMoreBarLine = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYLeft',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-input-number',
label: '均分',
@ -484,6 +476,14 @@ export const widgetMoreBarLine = {
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYLeft',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '轴颜色',
@ -555,14 +555,6 @@ export const widgetMoreBarLine = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYRight',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-input-number',
label: '均分',
@ -571,6 +563,14 @@ export const widgetMoreBarLine = {
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleYRight',
required: false,
placeholder: '',
value: 0
},
{
type: 'vue-color',
label: '轴颜色',

@ -316,43 +316,43 @@ export const widgetLineStack = {
},
{
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',
@ -363,20 +363,20 @@ export const widgetLineStack = {
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',
@ -401,7 +401,6 @@ export const widgetLineStack = {
required: false,
placeholder: '',
value: '#fff',
}
],
},
@ -418,7 +417,7 @@ export const widgetLineStack = {
},
{
type: 'el-input-text',
label: 'Y轴别名',
label: '坐标名',
name: 'textNameY',
require: false,
placeholder: '',
@ -426,51 +425,67 @@ export const widgetLineStack = {
},
{
type: 'vue-color',
label: '名颜色',
name: 'NameColorY',
label: '坐标名颜色',
name: 'nameColorY',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '名字号',
name: 'NameFontSizeY',
label: '坐标名字号',
name: 'nameFontSizeY',
required: false,
placeholder: '',
value: 14,
},
{
type: 'el-switch',
label: '轴反转',
name: 'reversalY',
type: 'vue-color',
label: '数值颜色',
name: 'colorY',
required: false,
placeholder: '',
value: false
value: '#fff',
},
{
type: 'el-slider',
label: '文字角度',
name: 'textAngleY',
type: 'el-input-number',
label: '数值字号',
name: 'fontSizeY',
required: false,
placeholder: '',
value: 0
value: 14,
},
{
type: 'vue-color',
label: '文字颜色',
name: 'colorY',
required: false,
type: 'el-switch',
label: '缩放',
name: 'scale',
require: false,
placeholder: '',
value: '#fff',
value: false,
},
{
type: 'el-input-number',
label: '文字字号',
name: 'fontSizeY',
label: '均分',
name: 'splitNumberY',
required: false,
placeholder: '',
value: 14,
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleY',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '轴反转',
name: 'reversalY',
required: false,
placeholder: '',
value: false
},
{
type: 'vue-color',
@ -479,22 +494,23 @@ export const widgetLineStack = {
required: false,
placeholder: '',
value: '#fff',
}, {
},
{
type: 'el-switch',
label: '分割线显示',
name: 'isShowSplitLineY',
require: false,
placeholder: '',
value: false,
}, {
},
{
type: 'vue-color',
label: '分割线颜色',
name: 'splitLineColorY',
required: false,
placeholder: '',
value: '#fff',
}
},
],
},
{

@ -227,7 +227,7 @@ export const widgetLinechart = {
{
type: 'el-input-text',
label: '坐标名',
name: 'xName',
name: 'nameX',
required: false,
placeholder: '',
value: ''
@ -238,47 +238,47 @@ export const widgetLinechart = {
name: 'nameColorX',
required: false,
placeholder: '',
value: '#fff',
value: '#fff'
},
{
type: 'el-input-number',
label: '坐标字号',
label: '坐标字号',
name: 'nameFontSizeX',
required: false,
placeholder: '',
value: 14,
value: 14
},
{
type: 'vue-color',
label: '数值颜色',
name: 'Xcolor',
label: '文字颜色',
name: 'colorX',
required: false,
placeholder: '',
value: '#fff',
},
{
type: 'el-input-number',
label: '数值字号',
label: '文字字号',
name: 'fontSizeX',
required: false,
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngle',
type: 'el-input-number',
label: '文字间隔',
name: 'textInterval',
required: false,
placeholder: '',
value: 0
value: ''
},
{
type: 'el-input-number',
label: '数值间隔',
name: 'textInterval',
type: 'el-slider',
label: '文字角度',
name: 'textAngleX',
required: false,
placeholder: '',
value: ''
value: 0
},
{
type: 'el-switch',
@ -343,8 +343,8 @@ export const widgetLinechart = {
},
{
type: 'el-input-number',
label: '坐标字号',
name: 'namefontSizeY',
label: '坐标字号',
name: 'nameFontSizeY',
required: false,
placeholder: '',
value: 14,
@ -365,14 +365,6 @@ export const widgetLinechart = {
placeholder: '',
value: 14,
},
{
type: 'el-slider',
label: '数值角度',
name: 'ytextAngle',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '缩放',
@ -384,11 +376,19 @@ export const widgetLinechart = {
{
type: 'el-input-number',
label: '均分',
name: 'splitNumber',
name: 'splitNumberY',
required: false,
placeholder: '',
value: ''
},
{
type: 'el-slider',
label: '数值角度',
name: 'textAngleY',
required: false,
placeholder: '',
value: 0
},
{
type: 'el-switch',
label: '轴反转',
@ -420,7 +420,7 @@ export const widgetLinechart = {
required: false,
placeholder: '',
value: '#fff',
}
},
],
},
{

@ -131,10 +131,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,
@ -146,7 +146,7 @@ export default {
rotate: optionsSetup.textAngleX,
textStyle: {
//
color: optionsSetup.Xcolor,
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX
}
},
@ -170,15 +170,18 @@ export default {
const optionsSetup = this.optionsSetup;
const yAxis = {
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,

@ -128,20 +128,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.xNameColor,
fontSize: optionsSetup.xNameFontSize
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
}
},
@ -166,19 +171,25 @@ export default {
const yAxis = {
type: "value",
scale: optionsSetup.scale,
splitNumber: optionsSetup.splitNumber,//
show: optionsSetup.isShowY, //
name: optionsSetup.textNameY, //
//
splitNumber: optionsSetup.splitNumberY,
//
show: optionsSetup.isShowY,
//
name: optionsSetup.textNameY,
nameTextStyle: {
color: optionsSetup.nameColorY,
fontSize: optionsSetup.nameFontSizeY
},
inverse: optionsSetup.reversalY, //
//
inverse: optionsSetup.reversalY,
axisLabel: {
show: true,
rotate: optionsSetup.ytextAngle, //
//
rotate: optionsSetup.textAngleY,
textStyle: {
color: optionsSetup.colorY, // x
//
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY
}
},
@ -195,7 +206,6 @@ export default {
}
}
};
this.options.yAxis = yAxis;
},
// or

@ -198,20 +198,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
}
},
@ -236,19 +241,25 @@ export default {
const yAxis = {
type: "value",
scale: optionsSetup.scale,
splitNumber: optionsSetup.splitNumber,//
show: optionsSetup.isShowY, //
name: optionsSetup.textNameY, //
nameTextStyle: { //
//
splitNumber: optionsSetup.splitNumberY,
//
show: optionsSetup.isShowY,
//
name: optionsSetup.textNameY,
nameTextStyle: {
color: optionsSetup.nameColorY,
fontSize: optionsSetup.namefontSizeY
fontSize: optionsSetup.nameFontSizeY
},
inverse: optionsSetup.reversalY, //
//
inverse: optionsSetup.reversalY,
axisLabel: {
show: true,
rotate: optionsSetup.ytextAngle, //
//
rotate: optionsSetup.textAngleY,
textStyle: {
color: optionsSetup.colorY, // y
//
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY
}
},

@ -131,10 +131,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,
@ -146,7 +146,7 @@ export default {
rotate: optionsSetup.textAngleX,
textStyle: {
//
color: optionsSetup.Xcolor,
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX
}
},
@ -170,22 +170,25 @@ export default {
const optionsSetup = this.optionsSetup;
const yAxis = {
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,
//
rotate: optionsSetup.textAngleY,
textStyle: {
// y
//
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY
}

@ -134,20 +134,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
}
},
@ -172,19 +177,25 @@ export default {
const yAxis = {
type: "value",
scale: optionsSetup.scale,
splitNumber: optionsSetup.splitNumber,//
show: optionsSetup.isShowY, //
name: optionsSetup.textNameY, //
nameTextStyle: { //
//
splitNumber: optionsSetup.splitNumberY,
//
show: optionsSetup.isShowY,
//
name: optionsSetup.textNameY,
nameTextStyle: {
color: optionsSetup.nameColorY,
fontSize: optionsSetup.namefontSizeY
fontSize: optionsSetup.nameFontSizeY
},
inverse: optionsSetup.reversalY, //
//
inverse: optionsSetup.reversalY,
axisLabel: {
show: true,
rotate: optionsSetup.ytextAngle, //
//
rotate: optionsSetup.textAngleY,
textStyle: {
color: optionsSetup.colorY, // y
//
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY
}
},

Loading…
Cancel
Save