流量统计增加导出图片

This commit is contained in:
zhanghongqing
2018-11-13 19:52:25 +08:00
parent 6e9359d9ba
commit fe6698e71e
8 changed files with 264 additions and 6 deletions

View File

@@ -39,6 +39,21 @@
// margin:10,
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'Protocol-Type',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
noData:{
style: {//设置字体颜色
color: '#fff',
@@ -203,6 +218,21 @@
marginTop:50,
inverted: true,
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'Active-IP',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
noData:{
style: {//设置字体颜色
color: '#fff',
@@ -346,6 +376,21 @@
marginBottom:60,
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'App',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
noData:{
style: {//设置字体颜色
color: '#fff',
@@ -485,6 +530,21 @@ function echart_2(rs){
plotShadow:false,
type: 'pie'
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'BS',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
noData:{
style: {//设置字体颜色
color: '#fff',
@@ -609,6 +669,21 @@ function echart_5(rs){
plotShadow:false,
type: 'pie'
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'BS',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
legend:{
width:480,
x:40,
@@ -734,7 +809,21 @@ function echart_4(rs){
plotShadow:false,
type: 'pie'
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'Website',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
colors:[ '#44A9A8', '#f36f8a','#25f3e6','#ffff43','#964CEC','#32B0ED','#2b6ed7','#7278DD','#2DA9D8','#C66FE6'],
title: {
text: null,
@@ -853,6 +942,21 @@ function echart_6(rs){
plotShadow:false,
type: 'pie'
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'Website',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
noData:{
style: {//设置字体颜色
color: '#fff',
@@ -976,6 +1080,21 @@ function echart_topic_domain(rs){
marginTop:50,
marginBottom:10,
},
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'Topic',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
colors:[ '#44A9A8', '#f36f8a','#25f3e6','#ffff43','#964CEC','#32B0ED','#2b6ed7','#7278DD','#2DA9D8','#C66FE6','#0099cc','#cc0033','#ff6633','#99cccc','#d9f9d0'],
noData:{
style: {//设置字体颜色