echarts饼图+仪表盘设置

饼图legend文字颜色:

	legend: {
		orient: 'horizontal',
		left: "10%",
		top: 'bottom',
		width: '80%',
        textStyle: {
           color:'white'//设置文字颜色
         },
		data: ['网络调查', '巡检', '神秘顾客', '座谈会', '面访执行']
		},

仪表盘内边距:

	series: [{
            center: ["50%", "55%"], // 仪表盘位置(圆心坐标)
			type: 'gauge',
			startAngle: 180,
			endAngle: 0,
			min: 0,
			max: 1,
			splitNumber: 10,
			...
	}]

版权声明:本文为real_xiaobai原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。