@ -3702,6 +3702,18 @@ const widgetTools = [
placeholder: '',
value: ''
},
{
type: 'el-select',
label: '饼图样式',
name: 'piechartStyle',
required: false,
selectOptions: [
{code: '50%', name: '实心饼图'},
{code: ["40%", "70%"], name: '空心饼图'},
],
value: '50%'
[
name: '标题设置',
@ -90,6 +90,11 @@ export default {
this.setOptionsLegend();
this.setOptionsColor();
this.setOptionsData();
this.setOptionsPiechartStyle();
// 饼图样式
setOptionsPiechartStyle(){
this.options.series[0]['radius'] = this.optionsSetup.piechartStyle
// 标题设置
setOptionsTitle() {