产品类型占比echarts 饼配置项内容和展示

配置项如下
      option = {
							title: {
								text: '产品类型占比',
								left: 'center',
								textStyle: {
									fontSize: 14,
									fontWeight: 'normal',
								},
							},
							tooltip: {
								trigger: 'item',
								formatter: "{a} <br/>{b} : {c} ({d}%)"
							},
							legend: {
								bottom: '0',
								data: ['股票', '金融产品', '债券']
							},
							series: [
								{
									name: '访问来源',
									type: 'pie',
									center: ['50%', '55%'],
									data: [
										{value: 13, name: '股票'},
										{value: 25, name: '金融产品'},
										{value: 63, name: '债券'}
									],
									itemStyle: {
										normal: {
											label: {
												formatter: function (obj) {
													return obj.value + "%";
												},
												position: 'inside',
												show: true,
											}
										},
										grid: {
											left: '0%',
											right: '4%',
											y2:80,
//											bottom: '15%',
											top: '10%',
//											height: 180,
											containLabel: true
										},
										emphasis: {
											shadowBlur: 10,
											shadowOffsetX: 0,
											shadowColor: 'rgba(0, 0, 0, 0.5)'
										}
									}
								}
							]
						};
    
截图如下