bugfix--副标题颜色和数值设定颜色冲突-折线图

qianming 1 year ago
parent be8e95b0b9
commit 2f6137112a

@ -656,7 +656,7 @@ export const widgetLineCompare = {
{ {
type: 'vue-color', type: 'vue-color',
label: '字体颜色', label: '字体颜色',
name: 'subTextColor', name: 'dataColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#fff'

@ -579,7 +579,7 @@ export const widgetLineStack = {
{ {
type: 'vue-color', type: 'vue-color',
label: '字体颜色', label: '字体颜色',
name: 'subTextColor', name: 'dataColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#fff'

@ -489,7 +489,7 @@ export const widgetLinechart = {
{ {
type: 'vue-color', type: 'vue-color',
label: '字体颜色', label: '字体颜色',
name: 'subTextColor', name: 'dataColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#fff'

@ -495,7 +495,7 @@ export default {
position: "top", position: "top",
distance: 10, distance: 10,
show: optionsSetup.isShow, show: optionsSetup.isShow,
color: optionsSetup.subTextColor, color: optionsSetup.dataColor,
fontSize: optionsSetup.fontSize, fontSize: optionsSetup.fontSize,
fontWeight: optionsSetup.fontWeight, fontWeight: optionsSetup.fontWeight,
}; };
@ -503,7 +503,7 @@ export default {
position: "bottom", position: "bottom",
distance: 10, distance: 10,
show: optionsSetup.isShow, show: optionsSetup.isShow,
color: optionsSetup.subTextColor, color: optionsSetup.dataColor,
fontSize: optionsSetup.fontSize, fontSize: optionsSetup.fontSize,
fontWeight: optionsSetup.fontWeight, fontWeight: optionsSetup.fontWeight,
}; };

@ -392,13 +392,13 @@ export default {
color: arrColor[i], color: arrColor[i],
}, },
areaStyle: this.getOptionArea(), areaStyle: this.getOptionArea(),
// //
label: { label: {
show: optionsSetup.isShow, show: optionsSetup.isShow,
position: "top", position: "top",
distance: 10, distance: 10,
fontSize: optionsSetup.fontSize, fontSize: optionsSetup.fontSize,
color: optionsSetup.subTextColor, color: optionsSetup.dataColor,
fontWeight: optionsSetup.fontWeight, fontWeight: optionsSetup.fontWeight,
}, },
}); });
@ -480,13 +480,13 @@ export default {
color: arrColor[i], color: arrColor[i],
}, },
areaStyle: this.getOptionArea(), areaStyle: this.getOptionArea(),
// //
label: { label: {
show: optionsSetup.isShow, show: optionsSetup.isShow,
position: "top", position: "top",
distance: 10, distance: 10,
fontSize: optionsSetup.fontSize, fontSize: optionsSetup.fontSize,
color: optionsSetup.subTextColor, color: optionsSetup.dataColor,
fontWeight: optionsSetup.fontWeight, fontWeight: optionsSetup.fontWeight,
}, },
}); });

@ -259,7 +259,7 @@ export default {
position: "top", position: "top",
distance: 10, distance: 10,
fontSize: optionsSetup.fontSize, fontSize: optionsSetup.fontSize,
color: optionsSetup.subTextColor, color: optionsSetup.dataColor,
fontWeight: optionsSetup.fontWeight, fontWeight: optionsSetup.fontWeight,
}; };
} }

Loading…
Cancel
Save