|
@@ -457,11 +457,6 @@
|
|
|
position:'left',
|
|
|
axisLabel : {
|
|
|
rotate: 30,
|
|
|
- <% if (ctx.tender.info.display.thousandth) { %>
|
|
|
- formatter: function (value, index) {
|
|
|
- return value.format2Str('#,##0.######') + ' 元'
|
|
|
- }
|
|
|
- <% } else { %>
|
|
|
formatter: function (value, index) {
|
|
|
if (value < 0) {
|
|
|
let newValue = Math.abs(value);
|
|
@@ -479,7 +474,6 @@
|
|
|
}
|
|
|
return value;
|
|
|
}
|
|
|
- <% } %>
|
|
|
},
|
|
|
splitArea : {show : true}
|
|
|
},
|
|
@@ -525,11 +519,10 @@
|
|
|
name : '金额',
|
|
|
position:'left',
|
|
|
axisLabel : {
|
|
|
- <% if (ctx.tender.info.display.thousandth) { %>
|
|
|
- formatter: function (value, index) {
|
|
|
- return value.format2Str('#,##0.######') + ' 元'
|
|
|
- }
|
|
|
- <% } else { %>
|
|
|
+ // if (ctx.tender.info.display.thousandth) {
|
|
|
+ // formatter: function (value, index) {
|
|
|
+ // return value.format2Str('#,##0.######') + ' 元'
|
|
|
+ // }
|
|
|
formatter: function (value, index) {
|
|
|
if (value < 0) {
|
|
|
let newValue = Math.abs(value);
|
|
@@ -547,16 +540,6 @@
|
|
|
}
|
|
|
return value;
|
|
|
}
|
|
|
- // formatter: '{value} 元'
|
|
|
- <% } %>
|
|
|
- // formatter: function (value, index) {
|
|
|
- // if (value >= 10000 && value < 10000000) {
|
|
|
- // value = value / 10000 + "万";
|
|
|
- // } else if (value >= 10000000) {
|
|
|
- // value = value / 10000000 + "千万";
|
|
|
- // }
|
|
|
- // return value;
|
|
|
- // }
|
|
|
},
|
|
|
splitArea : {show : true}
|
|
|
},
|
|
@@ -630,11 +613,6 @@
|
|
|
name : '金额',
|
|
|
position:'left',
|
|
|
axisLabel : {
|
|
|
- <% if (ctx.tender.info.display.thousandth) { %>
|
|
|
- formatter: function (value, index) {
|
|
|
- return value.format2Str('#,##0.######') + ' 元'
|
|
|
- }
|
|
|
- <% } else { %>
|
|
|
formatter: function (value, index) {
|
|
|
if (value < 0) {
|
|
|
let newValue = Math.abs(value);
|
|
@@ -652,7 +630,6 @@
|
|
|
}
|
|
|
return value;
|
|
|
}
|
|
|
- <% } %>
|
|
|
},
|
|
|
splitArea : {show : true},
|
|
|
splitLine : {show : true},
|