图例名称修改统一

qianming 2 years ago
parent ef5716c782
commit e2b0e751e3

@ -138,7 +138,7 @@ export const widgetBarCompare = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -146,7 +146,7 @@ export const widgetBarCompare = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -154,7 +154,7 @@ export const widgetBarCompare = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,

@ -196,7 +196,7 @@ export const widgetBarStack = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -204,7 +204,7 @@ export const widgetBarStack = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -212,7 +212,7 @@ export const widgetBarStack = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,

@ -237,7 +237,7 @@ export const widgetBarlinechart = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -245,7 +245,7 @@ export const widgetBarlinechart = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -253,7 +253,7 @@ export const widgetBarlinechart = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,

@ -198,7 +198,7 @@ export const widgetFunnel = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -206,7 +206,7 @@ export const widgetFunnel = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 16,
@ -214,7 +214,7 @@ export const widgetFunnel = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 15,

@ -422,7 +422,7 @@ export const widgetHeatmap = {
{
type: 'vue-color',
label: '数值颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -430,7 +430,7 @@ export const widgetHeatmap = {
{
type: 'el-input-number',
label: '图例大小',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -438,7 +438,7 @@ export const widgetHeatmap = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,
@ -488,7 +488,7 @@ export const widgetHeatmap = {
{
type: 'customColor',
label: '',
name: 'lengedColorList',
name: 'legendColorList',
required: false,
value: [{color: '#abd9e9'}, {color: '#74add1'}, {color: '#4575b4'}, {color: '#313695'}],
},

@ -170,7 +170,7 @@ export const widgetLineCompare = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -178,7 +178,7 @@ export const widgetLineCompare = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -186,7 +186,7 @@ export const widgetLineCompare = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,

@ -216,7 +216,7 @@ export const widgetLineStack = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -224,7 +224,7 @@ export const widgetLineStack = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -232,7 +232,7 @@ export const widgetLineStack = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,

@ -229,7 +229,7 @@ export const widgetMoreBarLine = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -237,7 +237,7 @@ export const widgetMoreBarLine = {
{
type: 'el-input-number',
label: '字体字号',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 12,
@ -245,7 +245,7 @@ export const widgetMoreBarLine = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 12,

@ -239,7 +239,7 @@ export const widgetPieNightingale = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -247,7 +247,7 @@ export const widgetPieNightingale = {
{
type: 'el-input-number',
label: '字体大小',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 16,
@ -255,7 +255,7 @@ export const widgetPieNightingale = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 15,
@ -267,10 +267,11 @@ export const widgetPieNightingale = {
required: false,
placeholder: '',
selectOptions: [
{code: 'center', name: '居中'},
{code: 'left', name: '左对齐'},
{code: 'right', name: '右对齐'},
],
value: ''
value: 'center'
},
{
type: 'el-select',
@ -282,7 +283,7 @@ export const widgetPieNightingale = {
{code: 'top', name: '顶部'},
{code: 'bottom', name: '底部'},
],
value: ''
value: 'top'
},
{
type: 'el-select',
@ -294,7 +295,7 @@ export const widgetPieNightingale = {
{code: 'vertical', name: '竖排'},
{code: 'horizontal', name: '横排'},
],
value: ''
value: 'horizontal'
},
],
},

@ -239,7 +239,7 @@ export const widgetPiechart = {
{
type: 'vue-color',
label: '字体颜色',
name: 'lengedColor',
name: 'legendColor',
required: false,
placeholder: '',
value: '#fff',
@ -247,7 +247,7 @@ export const widgetPiechart = {
{
type: 'el-input-text',
label: '字体大小',
name: 'lengedFontSize',
name: 'legendFontSize',
required: false,
placeholder: '',
value: 16,
@ -255,7 +255,7 @@ export const widgetPiechart = {
{
type: 'el-input-number',
label: '图例宽度',
name: 'lengedWidth',
name: 'legendWidth',
required: false,
placeholder: '',
value: 15,
@ -267,10 +267,11 @@ export const widgetPiechart = {
required: false,
placeholder: '',
selectOptions: [
{code: 'center', name: '居中'},
{code: 'left', name: '左对齐'},
{code: 'right', name: '右对齐'},
],
value: ''
value: 'center'
},
{
type: 'el-select',
@ -282,7 +283,7 @@ export const widgetPiechart = {
{code: 'top', name: '顶部'},
{code: 'bottom', name: '底部'},
],
value: ''
value: 'top'
},
{
type: 'el-select',
@ -294,7 +295,7 @@ export const widgetPiechart = {
{code: 'vertical', name: '竖排'},
{code: 'horizontal', name: '横排'},
],
value: ''
value: 'horizontal'
},
],
},

@ -488,10 +488,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsLegendName(name){

@ -239,10 +239,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsLegendName(name){

@ -351,10 +351,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsLegendName(name){

@ -366,10 +366,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsLegendName(name){

@ -291,17 +291,17 @@ export default {
visualMap.min = optionsSetup.dataMin;
visualMap.max = optionsSetup.dataMax;
visualMap.textStyle = {
fontSize : optionsSetup.lengedFontSize,
color : optionsSetup.lengedColor
fontSize : optionsSetup.legendFontSize,
color : optionsSetup.legendColor
};
visualMap.inRange.color = optionsSetup.lengedColorList.map((x) => {
visualMap.inRange.color = optionsSetup.legendColorList.map((x) => {
return x.color;
});
visualMap.left = optionsSetup.lateralPosition;
visualMap.top = optionsSetup.longitudinalPosition;
visualMap.bottom = optionsSetup.longitudinalPosition;
visualMap.orient = optionsSetup.layoutFront;
visualMap.itemWidth = optionsSetup.lengedWidth;
visualMap.itemWidth = optionsSetup.legendWidth;
},
setOptionsData() {
const optionsData = this.optionsData; // or

@ -538,10 +538,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsLegendName(name){

@ -254,10 +254,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsLegendName(name){

@ -175,10 +175,10 @@ export default {
optionsCollapse.longitudinalPosition == "bottom" ? 0 : "auto";
legend.orient = optionsCollapse.layoutFront;
legend.textStyle = {
color: optionsCollapse.lengedColor,
color: optionsCollapse.legendColor,
fontSize: optionsCollapse.fontSize
};
legend.itemWidth = optionsCollapse.lengedWidth;
legend.itemWidth = optionsCollapse.legendWidth;
},
//
setOptionsColor() {

@ -174,10 +174,10 @@ export default {
optionsSetup.longitudinalPosition == "bottom" ? 0 : "auto";
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
color: optionsSetup.legendColor,
fontSize: optionsSetup.fontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsColor() {

@ -190,10 +190,10 @@ export default {
optionsSetup.longitudinalPosition;
legend.orient = optionsSetup.layoutFront;
legend.textStyle = {
color: optionsSetup.lengedColor,
fontSize: optionsSetup.lengedFontSize
color: optionsSetup.legendColor,
fontSize: optionsSetup.legendFontSize
};
legend.itemWidth = optionsSetup.lengedWidth;
legend.itemWidth = optionsSetup.legendWidth;
},
//
setOptionsColor() {

Loading…
Cancel
Save