|
@@ -267,9 +267,18 @@ const setOtherData = function (type,data) {
|
|
|
id:'keyWordsEacths',
|
|
|
series:{
|
|
|
name:'搜索关键词',
|
|
|
- color:'#e15616',
|
|
|
yAxisData:data.behavior.name,
|
|
|
- seriesData:data.behavior.value
|
|
|
+ seriesData:data.behavior.value,
|
|
|
+ color:new echarts.graphic.LinearGradient(1, 0, 0, 0, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "#87CEFA" // 0% 处的颜色
|
|
|
+ }, {
|
|
|
+ offset: 0.6,
|
|
|
+ color: "#6495ED" // 60% 处的颜色
|
|
|
+ }, {
|
|
|
+ offset: 1,
|
|
|
+ color: "#4169E1" // 100% 处的颜色
|
|
|
+ }], false)
|
|
|
},
|
|
|
},
|
|
|
2:{// 咨询记录
|
|
@@ -282,9 +291,18 @@ const setOtherData = function (type,data) {
|
|
|
id:'serviceEacths',
|
|
|
series:{
|
|
|
name:'咨询记录',
|
|
|
- color:'#36cbcb',
|
|
|
yAxisData:data.remarks.name,
|
|
|
- seriesData:data.remarks.value
|
|
|
+ seriesData:data.remarks.value,
|
|
|
+ color:new echarts.graphic.LinearGradient(1, 0, 0, 0, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "#AFEEEE" // 0% 处的颜色
|
|
|
+ }, {
|
|
|
+ offset: 0.6,
|
|
|
+ color: "#48D1CC" // 60% 处的颜色
|
|
|
+ }, {
|
|
|
+ offset: 1,
|
|
|
+ color: "#20B2AA" // 100% 处的颜色
|
|
|
+ }], false)
|
|
|
},
|
|
|
},
|
|
|
3:{// 访问记录
|
|
@@ -297,9 +315,18 @@ const setOtherData = function (type,data) {
|
|
|
id:'visitEacths',
|
|
|
series:{
|
|
|
name:'访问记录',
|
|
|
- color:'#3aa0ff',
|
|
|
yAxisData:data.pageType.name,
|
|
|
- seriesData:data.pageType.value
|
|
|
+ seriesData:data.pageType.value,
|
|
|
+ color:new echarts.graphic.LinearGradient(1, 0, 0, 0, [{
|
|
|
+ offset: 0,
|
|
|
+ color: "#B0C4DE" // 0% 处的颜色
|
|
|
+ }, {
|
|
|
+ offset: 0.6,
|
|
|
+ color: "#87CEFA" // 60% 处的颜色
|
|
|
+ }, {
|
|
|
+ offset: 1,
|
|
|
+ color: "#1E90FF" // 100% 处的颜色
|
|
|
+ }], false)
|
|
|
},
|
|
|
}
|
|
|
}
|
|
@@ -382,8 +409,9 @@ const getOtherEacths = function (handleFn,id,data) {
|
|
|
name: data.name,
|
|
|
data: data.seriesData,
|
|
|
itemStyle:{
|
|
|
- color:data.color,
|
|
|
fontSize: 14,
|
|
|
+ barBorderRadius:[0,50,50,0],
|
|
|
+ color:data.color
|
|
|
}
|
|
|
}
|
|
|
]
|