|
|
@@ -84,12 +84,13 @@ export default {
|
|
|
this.onlinePayInstance = echarts.init(this.$refs.onlinePayBar)
|
|
|
|
|
|
const xAxisData = this.xAxisData
|
|
|
- const seriesData = this.seriesData.map((num) => num / 10000)
|
|
|
+ const seriesData = this.seriesData.map((num) => (num / 10000).toFixed(2))
|
|
|
// let max = 0
|
|
|
// max = seriesData.reduce((max, num) => {
|
|
|
// return Math.max(Number(max), Number(num))
|
|
|
// })
|
|
|
// max = this.getMax(max)
|
|
|
+
|
|
|
const option = {
|
|
|
tooltip: {},
|
|
|
legend: {
|
|
|
@@ -155,6 +156,7 @@ export default {
|
|
|
},
|
|
|
yAxis: [
|
|
|
{
|
|
|
+ max: 5000,
|
|
|
axisLabel: {
|
|
|
color: 'rgba(160, 179, 214, 0.7)',
|
|
|
fontSize: 11,
|