// 用到的数据
var pieDataOne = [ {
value : 335,
name : '外力破坏',
itemStyle : {
normal : {
//设置渐变色
color : new echarts.graphic.LinearGradient(0, 0, 0, 1, [ {
offset : 0,
color : '#0d7ab2'
}, {
offset : 0.5,
color : '#5896c9'
}, {
offset : 1,
color : '#0d7ab2'
} ])
}
}
}, {
value : 310,
name : '大跨越区',
itemStyle : {
normal : {
color : new echarts.graphic.LinearGradient(0, 0, 0, 1, [ {
offset : 0,
color : '#fcfe53'
}, {
offset :<