柱、线图XY配置项调整

qianming 2 years ago
parent a46860af15
commit 9a81554047

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

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

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

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

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

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

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

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

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

@ -128,20 +128,25 @@ export default {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const xAxis = { const xAxis = {
type: "category", type: "category",
show: optionsSetup.hideX, // //
name: optionsSetup.xName, // show: optionsSetup.hideX,
//
name: optionsSetup.nameX,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.xNameColor, color: optionsSetup.nameColorX,
fontSize: optionsSetup.xNameFontSize fontSize: optionsSetup.nameFontSizeX
}, },
nameRotate: optionsSetup.textAngle, // //
inverse: optionsSetup.reversalX, // inverse: optionsSetup.reversalX,
axisLabel: { axisLabel: {
show: true, show: true,
interval: optionsSetup.textInterval, // //
rotate: optionsSetup.textAngle, // interval: optionsSetup.textInterval,
//
rotate: optionsSetup.textAngleX,
textStyle: { textStyle: {
color: optionsSetup.Xcolor, // x //
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX fontSize: optionsSetup.fontSizeX
} }
}, },
@ -166,19 +171,25 @@ export default {
const yAxis = { const yAxis = {
type: "value", type: "value",
scale: optionsSetup.scale, scale: optionsSetup.scale,
splitNumber: optionsSetup.splitNumber,// //
show: optionsSetup.isShowY, // splitNumber: optionsSetup.splitNumberY,
name: optionsSetup.textNameY, // //
show: optionsSetup.isShowY,
//
name: optionsSetup.textNameY,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.nameColorY, color: optionsSetup.nameColorY,
fontSize: optionsSetup.nameFontSizeY fontSize: optionsSetup.nameFontSizeY
}, },
inverse: optionsSetup.reversalY, // //
inverse: optionsSetup.reversalY,
axisLabel: { axisLabel: {
show: true, show: true,
rotate: optionsSetup.ytextAngle, // //
rotate: optionsSetup.textAngleY,
textStyle: { textStyle: {
color: optionsSetup.colorY, // x //
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY fontSize: optionsSetup.fontSizeY
} }
}, },
@ -195,7 +206,6 @@ export default {
} }
} }
}; };
this.options.yAxis = yAxis; this.options.yAxis = yAxis;
}, },
// or // or

@ -198,20 +198,25 @@ export default {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const xAxis = { const xAxis = {
type: "category", type: "category",
show: optionsSetup.hideX, // //
name: optionsSetup.xName, // show: optionsSetup.hideX,
//
name: optionsSetup.nameX,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.nameColorX, color: optionsSetup.nameColorX,
fontSize: optionsSetup.nameFontSizeX fontSize: optionsSetup.nameFontSizeX
}, },
nameRotate: optionsSetup.textAngle, // //
inverse: optionsSetup.reversalX, // inverse: optionsSetup.reversalX,
axisLabel: { axisLabel: {
show: true, show: true,
interval: optionsSetup.textInterval, // //
rotate: optionsSetup.textAngle, // interval: optionsSetup.textInterval,
//
rotate: optionsSetup.textAngleX,
textStyle: { textStyle: {
color: optionsSetup.Xcolor, // x //
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX fontSize: optionsSetup.fontSizeX
} }
}, },
@ -236,19 +241,25 @@ export default {
const yAxis = { const yAxis = {
type: "value", type: "value",
scale: optionsSetup.scale, scale: optionsSetup.scale,
splitNumber: optionsSetup.splitNumber,// //
show: optionsSetup.isShowY, // splitNumber: optionsSetup.splitNumberY,
name: optionsSetup.textNameY, // //
nameTextStyle: { // show: optionsSetup.isShowY,
//
name: optionsSetup.textNameY,
nameTextStyle: {
color: optionsSetup.nameColorY, color: optionsSetup.nameColorY,
fontSize: optionsSetup.namefontSizeY fontSize: optionsSetup.nameFontSizeY
}, },
inverse: optionsSetup.reversalY, // //
inverse: optionsSetup.reversalY,
axisLabel: { axisLabel: {
show: true, show: true,
rotate: optionsSetup.ytextAngle, // //
rotate: optionsSetup.textAngleY,
textStyle: { textStyle: {
color: optionsSetup.colorY, // y //
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY fontSize: optionsSetup.fontSizeY
} }
}, },

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

@ -134,20 +134,25 @@ export default {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const xAxis = { const xAxis = {
type: "category", type: "category",
show: optionsSetup.hideX, // //
name: optionsSetup.xName, // show: optionsSetup.hideX,
//
name: optionsSetup.nameX,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.nameColorX, color: optionsSetup.nameColorX,
fontSize: optionsSetup.nameFontSizeX fontSize: optionsSetup.nameFontSizeX
}, },
nameRotate: optionsSetup.textAngle, // //
inverse: optionsSetup.reversalX, // inverse: optionsSetup.reversalX,
axisLabel: { axisLabel: {
show: true, show: true,
interval: optionsSetup.textInterval, // //
rotate: optionsSetup.textAngle, // interval: optionsSetup.textInterval,
//
rotate: optionsSetup.textAngleX,
textStyle: { textStyle: {
color: optionsSetup.Xcolor, // x //
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX fontSize: optionsSetup.fontSizeX
} }
}, },
@ -172,19 +177,25 @@ export default {
const yAxis = { const yAxis = {
type: "value", type: "value",
scale: optionsSetup.scale, scale: optionsSetup.scale,
splitNumber: optionsSetup.splitNumber,// //
show: optionsSetup.isShowY, // splitNumber: optionsSetup.splitNumberY,
name: optionsSetup.textNameY, // //
nameTextStyle: { // show: optionsSetup.isShowY,
//
name: optionsSetup.textNameY,
nameTextStyle: {
color: optionsSetup.nameColorY, color: optionsSetup.nameColorY,
fontSize: optionsSetup.namefontSizeY fontSize: optionsSetup.nameFontSizeY
}, },
inverse: optionsSetup.reversalY, // //
inverse: optionsSetup.reversalY,
axisLabel: { axisLabel: {
show: true, show: true,
rotate: optionsSetup.ytextAngle, // //
rotate: optionsSetup.textAngleY,
textStyle: { textStyle: {
color: optionsSetup.colorY, // y //
color: optionsSetup.colorY,
fontSize: optionsSetup.fontSizeY fontSize: optionsSetup.fontSizeY
} }
}, },

Loading…
Cancel
Save