diff --git a/src/main/webapp/WEB-INF/views/dashboard/trafficDomainTrans.jsp b/src/main/webapp/WEB-INF/views/dashboard/trafficDomainTrans.jsp index 8721b2515..a114bfc78 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/trafficDomainTrans.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/trafficDomainTrans.jsp @@ -74,7 +74,10 @@ $(document).ready(function(){ total=rs[0].sum; series.push({ name: 'unique', - data: rs[0].result + data: rs[0].result, + marker: { + enabled: false + } }); }else{ series.push({ diff --git a/src/main/webapp/static/pages/scripts/echart.js b/src/main/webapp/static/pages/scripts/echart.js index 3382c3405..28e80b01f 100644 --- a/src/main/webapp/static/pages/scripts/echart.js +++ b/src/main/webapp/static/pages/scripts/echart.js @@ -26,6 +26,12 @@ } }) chart_3.yAxis[0].update({ + title: { + style: {//设置字体颜色 + color: '#000000', + fontFamily:'Microsoft YaHei' + } + }, labels:{ style:{ color:'#000000' @@ -58,6 +64,12 @@ } }) chart_3.yAxis[0].update({ + title: { + style: {//设置字体颜色 + color: '#ffffff', + fontFamily:'Microsoft YaHei' + } + }, labels:{ style:{ color:'#ffffff' @@ -591,6 +603,14 @@ } }], yAxis: [{ + title: { + text: unit, + align:'high', + style: {//设置字体颜色 + color: '#000000', + fontFamily:'Microsoft YaHei' + } + }, labels: { style: { color: '#000000' @@ -1365,6 +1385,9 @@ function echart_topic_domain(rs){ allowHTML:true, filename:'Service'+addDateName(), chartOptions: { + chart: { + backgroundColor: 'rgba(255, 255, 255, 1)' + }, plotOptions: { series: { dataLabels: {