Browse Source

修改样式

lulihong 6 years ago
parent
commit
d17f932b55

+ 1 - 1
page/bigData/component/high-incidence-disease.js

@ -230,7 +230,7 @@
									},
									barBorderRadius: [0, 8, 8, 0],
									color: '#00e6f3'
								}
								},
							},
							"data": zhuYuanData
						}

+ 7 - 9
page/bigData/component/key-service-population.js

@ -61,13 +61,11 @@
				var zhongdianChart = echarts.init(document.getElementById('div-zhongidan-echart'));
				var zhongdianOption =  {
				    tooltip: {
				        trigger: 'axis',
				        axisPointer: {
				            type: 'item',
				            crossStyle: {
				                color: '#fff'
				            }
				        }
				         trigger: 'axis',
					     axisPointer: {
					         type : 'shadow'
					    },
				         formatter: '{b} <br /> {a0}: {c0}<br />{a1}: {c1}' + "%"
				    },
					grid: {top: 50, bottom: 30, left: 30,right:80},
				    legend: {
@ -145,7 +143,7 @@
				                normal: {
				                    show: true,
				                    position: 'top', // 在柱状图上方显示
									color: '#fff' // 柱状图上方显示的数值颜色
									color: '#fff',// 柱状图上方显示的数值颜色
				                }
				            },
				            itemStyle: {
@ -160,7 +158,7 @@
				            data:huanbiData,
							itemStyle: {
				                color: '#03fa6d'
				            }
				           },
				        }
				    ]
				};