isqianming 3 years ago
parent f2a45a605f
commit dc4cced74f

@ -109,6 +109,7 @@ export default {
// widget-gauge 仪表盘 // widget-gauge 仪表盘
// widget-text 文本框 // widget-text 文本框
// widge-table 表格(数据不要转) // widge-table 表格(数据不要转)
// widget-stackchart 堆叠图
const chartType = params.chartType const chartType = params.chartType
if ( if (
chartType == "widget-barchart" || chartType == "widget-barchart" ||
@ -125,8 +126,8 @@ export default {
return this.gaugeFn(params.chartProperties, data); return this.gaugeFn(params.chartProperties, data);
} else if (chartType == "widget-text") { } else if (chartType == "widget-text") {
return this.widgettext(params.chartProperties, data) return this.widgettext(params.chartProperties, data)
} else if (chartType == "widget-barstack") { } else if (chartType == "widget-stackchart") {
return this.barStackFn(params.chartProperties, data) return this.stackChartFn(params.chartProperties, data)
}else{ }else{
return data return data
} }
@ -159,8 +160,8 @@ export default {
ananysicData["series"] = series; ananysicData["series"] = series;
return ananysicData; return ananysicData;
}, },
//柱状堆叠图 //堆叠图
barStackFn(chartProperties, data){ stackChartFn(chartProperties, data){
}, },
// 饼图、漏斗图 // 饼图、漏斗图

@ -6254,7 +6254,7 @@ const widgetTools = [
placeholder: 'px', placeholder: 'px',
relactiveDom: 'dataType', relactiveDom: 'dataType',
relactiveDomValue: 'dynamicData', relactiveDomValue: 'dynamicData',
chartType: 'widget-barstack', chartType: 'widget-stackchart',
value: '', value: '',
}, },
], ],

Loading…
Cancel
Save