样式更新

qianming 3 years ago
parent 81cf89aeab
commit 1525595546

@ -2250,6 +2250,26 @@ const widgetTools = [
},
],
},
{
name: '提示语设置',
list: [
{
type: 'el-input-number',
label: '字体大小',
name: 'tipsFontSize',
required: false,
placeholder: '',
value: 16
},
{
type: 'vue-color',
label: '字体颜色',
name: 'lineColor',
required: false,
placeholder: '',
},
],
},
{
name: '坐标轴边距设置',
list: [
@ -6050,7 +6070,7 @@ const widgetTools = [
},
],
},
/*{
{
name: '提示语设置',
list: [
{
@ -6069,7 +6089,7 @@ const widgetTools = [
placeholder: '',
},
],
},*/
},
/*{
name: '坐标轴边距设置',
list: [

@ -97,7 +97,7 @@ export default {
this.setOptionsX();
this.setOptionsY();
this.setOptionsTop();
//this.setOptionsTooltip();
this.setOptionsTooltip();
//this.setOptionsMargin();
//this.setOptionsLegend();
//this.setOptionsColor();
@ -215,8 +215,8 @@ export default {
}
this.options.series = series;
},
// tooltip
/* setOptionsTooltip() {
// tooltip
setOptionsTooltip() {
const optionsCollapse = this.optionsSetup;
const tooltip = {
trigger: "item",
@ -227,7 +227,7 @@ export default {
}
};
this.options.tooltip = tooltip;
},*/
},
//
setOptionsMargin() {
const optionsCollapse = this.optionsSetup;

@ -283,12 +283,11 @@ export default {
fontWeight: optionsCollapse.fontWeight
};
series[key].barWidth = optionsCollapse.maxWidth;
//series[key].barMinHeight = optionsCollapse.minHeight;
}
}
this.options.series = series;
},
// tooltip
// tooltip
setOptionsTooltip() {
const optionsCollapse = this.optionsSetup;
const tooltip = {

Loading…
Cancel
Save