@ -230,7 +230,7 @@
},
barBorderRadius: [0, 8, 8, 0],
color: '#00e6f3'
}
"data": zhuYuanData
@ -61,13 +61,11 @@
var zhongdianChart = echarts.init(document.getElementById('div-zhongidan-echart'));
var zhongdianOption = {
tooltip: {
trigger: 'axis',
axisPointer: {
type: 'item',
crossStyle: {
color: '#fff'
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,
color: '#03fa6d'
]
};