|
@@ -514,6 +514,7 @@
|
|
|
myChart1.resize()
|
|
|
}
|
|
|
var myChart1 = echarts.init(document.getElementById('jechart'));
|
|
|
+ var transparentCount = 1;
|
|
|
option = {
|
|
|
// title: {
|
|
|
// text: '金额统计图',
|
|
@@ -521,21 +522,21 @@
|
|
|
// top:'7%'
|
|
|
// },
|
|
|
color: [
|
|
|
- 'rgba(250, 140, 22, 0.7)',
|
|
|
- 'rgba(251, 182, 45, 0.7)',
|
|
|
- 'rgba(82, 196, 26, 0.7)',
|
|
|
- 'rgba(22, 208, 208, 0.7)',
|
|
|
+ 'rgba(241, 82, 91,'+ transparentCount +')',
|
|
|
+ 'rgba(250, 140, 22,'+ transparentCount +')',
|
|
|
+ 'rgba(251, 182, 45,'+ transparentCount +')',
|
|
|
+ 'rgba(82, 196, 26,'+ transparentCount +')',
|
|
|
+ 'rgba(22, 208, 208,'+ transparentCount +')',
|
|
|
<% if (ctx.session.sessionProject.page_show.openChangeProject) { %>
|
|
|
- 'rgba(51, 119, 255, 0.7)',
|
|
|
+ 'rgba(51, 119, 255,'+ transparentCount +')',
|
|
|
<% } %>
|
|
|
<% if (ctx.session.sessionProject.page_show.openChangeApply) { %>
|
|
|
- 'rgba(41, 58, 210, 0.7)',
|
|
|
+ 'rgba(41, 58, 210,'+ transparentCount +')',
|
|
|
<% } %>
|
|
|
<% if (ctx.session.sessionProject.page_show.openChangePlan) { %>
|
|
|
- 'rgba(114, 46, 209, 0.7)',
|
|
|
+ 'rgba(114, 46, 209,'+ transparentCount +')',
|
|
|
<% } %>
|
|
|
- 'rgba(187, 41, 210, 0.7)',
|
|
|
- 'rgba(241, 82, 91, 0.7)',
|
|
|
+ 'rgba(187, 41, 210,'+ transparentCount +')',
|
|
|
],
|
|
|
tooltip: {
|
|
|
trigger: 'item'
|
|
@@ -545,6 +546,8 @@
|
|
|
orient: 'vertical',
|
|
|
left: '3%',
|
|
|
top: '20%',
|
|
|
+ itemWidth: 15,
|
|
|
+ itemHeight: 15,
|
|
|
textStyle: {
|
|
|
fontSize: 12
|
|
|
},
|
|
@@ -556,6 +559,8 @@
|
|
|
orient: 'vertical',
|
|
|
right: '3%',
|
|
|
top: '20%',
|
|
|
+ itemWidth: 15,
|
|
|
+ itemHeight: 15,
|
|
|
textStyle: {
|
|
|
fontSize: 12
|
|
|
},
|