|
|
@@ -2,8 +2,8 @@ let app = new Vue({
|
|
|
el: '#app',
|
|
|
data () {
|
|
|
return {
|
|
|
+ versions: false,
|
|
|
app_token: '',
|
|
|
-
|
|
|
centerShow: false, // 中间内容显示
|
|
|
echartR4Chart: '',// 倒数第二个专用
|
|
|
echartR5Chart: '', // 倒是第一个专用
|
|
|
@@ -125,37 +125,40 @@ let app = new Vue({
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
|
- // 假数据版
|
|
|
- // setTimeout(() => {
|
|
|
- // this.initChartL1()
|
|
|
- // this.initChartL2()
|
|
|
- // this.initChartL3()
|
|
|
- // this.initChartL4()
|
|
|
- // this.initChartL5()
|
|
|
- // this.initChartL6()
|
|
|
- // this.initChartL7()
|
|
|
- // this.initChartL8()
|
|
|
- // this.initChartL10()
|
|
|
- // this.initChartL11()
|
|
|
- // this.changeTopColor()
|
|
|
- // // 大屏二
|
|
|
- // this.initChinaChart()
|
|
|
- // // 大屏三
|
|
|
- // this.initChartR1()
|
|
|
- // this.initChartR2()
|
|
|
- // this.initChartR3()
|
|
|
- // this.changeYellow()
|
|
|
- // })
|
|
|
- // 接口版
|
|
|
- this.getAppToken()
|
|
|
- setTimeout(() => {
|
|
|
- this.changeTopColor()
|
|
|
- // 大屏二
|
|
|
- this.initChinaChart()
|
|
|
- // 大屏三
|
|
|
- this.initChartR5()
|
|
|
- this.changeYellow()
|
|
|
- })
|
|
|
+ if (this.versions) {
|
|
|
+ // 接口版
|
|
|
+ this.getAppToken()
|
|
|
+ setTimeout(() => {
|
|
|
+ this.changeTopColor()
|
|
|
+ // 大屏二
|
|
|
+ this.initChinaChart()
|
|
|
+ // 大屏三
|
|
|
+ this.initChartR5()
|
|
|
+ this.changeYellow()
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ // 假数据版
|
|
|
+ setTimeout(() => {
|
|
|
+ this.initChartL1()
|
|
|
+ this.initChartL2()
|
|
|
+ this.initChartL3()
|
|
|
+ this.initChartL4()
|
|
|
+ this.initChartL5()
|
|
|
+ this.initChartL6()
|
|
|
+ this.initChartL7()
|
|
|
+ this.initChartL8()
|
|
|
+ this.initChartL10()
|
|
|
+ this.initChartL11()
|
|
|
+ this.changeTopColor()
|
|
|
+ // 大屏二
|
|
|
+ this.initChinaChart()
|
|
|
+ // 大屏三
|
|
|
+ this.initChartR1()
|
|
|
+ this.initChartR2()
|
|
|
+ this.initChartR3()
|
|
|
+ this.changeYellow()
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取token
|
|
|
@@ -563,7 +566,6 @@ let app = new Vue({
|
|
|
presetYear: 2023
|
|
|
}
|
|
|
get('/ierp/kapi/v2/mdnb/mdnb_pmba_ext/presetdata/getKeyData', value).then(res => {
|
|
|
- console.log(res, '?????????')
|
|
|
resolve(1);
|
|
|
})
|
|
|
});
|
|
|
@@ -780,7 +782,7 @@ let app = new Vue({
|
|
|
},
|
|
|
},
|
|
|
yAxis: {
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
nameTextStyle: {//y轴上方单位的颜色
|
|
|
color: '#fff',
|
|
|
fontSize: '20',
|
|
|
@@ -1092,7 +1094,7 @@ let app = new Vue({
|
|
|
},
|
|
|
},
|
|
|
yAxis: {
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
nameTextStyle: {//y轴上方单位的颜色
|
|
|
color: '#fff',
|
|
|
fontSize: '20',
|
|
|
@@ -1328,6 +1330,7 @@ let app = new Vue({
|
|
|
type: "liquidFill",
|
|
|
radius: "80%",
|
|
|
data: [common2[0], common2[0] + 0.05, common2[0] - 0.05],
|
|
|
+ waveLength :'50%', //波浪长度
|
|
|
// data: [
|
|
|
// {}
|
|
|
// ],
|
|
|
@@ -1344,7 +1347,7 @@ let app = new Vue({
|
|
|
color: "#010a11",
|
|
|
},
|
|
|
{
|
|
|
- offset: 0.75,
|
|
|
+ offset: 0.9,
|
|
|
color: "#1a2f45",
|
|
|
},
|
|
|
{
|
|
|
@@ -1437,6 +1440,9 @@ let app = new Vue({
|
|
|
type: "liquidFill",
|
|
|
radius: "80%",
|
|
|
data: [left2[0], left2[0] + 0.05, left2[0] - 0.05],
|
|
|
+ // amplitude:'15%',
|
|
|
+ // period:'1500',
|
|
|
+ waveLength :'50%', //波浪长度
|
|
|
// data: [
|
|
|
// {}
|
|
|
// ],
|
|
|
@@ -1453,7 +1459,7 @@ let app = new Vue({
|
|
|
color: "#010a11",
|
|
|
},
|
|
|
{
|
|
|
- offset: 0.75,
|
|
|
+ offset: 0.9,
|
|
|
// color: "#203852",
|
|
|
color: "#1a2f45",
|
|
|
},
|
|
|
@@ -1548,7 +1554,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -1572,8 +1578,8 @@ let app = new Vue({
|
|
|
item.sliced = false
|
|
|
item.selected = false
|
|
|
if (index == i) {
|
|
|
- item.sliced = true
|
|
|
- item.selected = true
|
|
|
+ // item.sliced = true
|
|
|
+ // item.selected = true
|
|
|
}
|
|
|
})
|
|
|
chart.update({
|
|
|
@@ -1594,8 +1600,8 @@ let app = new Vue({
|
|
|
if (i === len) {
|
|
|
i = 0;
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
})
|
|
|
chart.update({
|
|
|
series: [{
|
|
|
@@ -1700,11 +1706,11 @@ let app = new Vue({
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
})
|
|
|
- chartData[e.target.index].sliced = true
|
|
|
- chartData[e.target.index].selected = true
|
|
|
+ // chartData[e.target.index].sliced = true
|
|
|
+ // chartData[e.target.index].selected = true
|
|
|
chart.update({
|
|
|
series: [{
|
|
|
type: 'pie',
|
|
|
@@ -1729,11 +1735,11 @@ let app = new Vue({
|
|
|
timer = setInterval(function () {
|
|
|
autoTooltip(points[i]);
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
if (index == i) {
|
|
|
- item.sliced = true
|
|
|
- item.selected = true
|
|
|
+ // item.sliced = true
|
|
|
+ // item.selected = true
|
|
|
}
|
|
|
})
|
|
|
chart.update({
|
|
|
@@ -1792,7 +1798,7 @@ let app = new Vue({
|
|
|
|
|
|
let that = this
|
|
|
var chart = Highcharts.chart('echartL3', {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -1816,8 +1822,8 @@ let app = new Vue({
|
|
|
item.sliced = false
|
|
|
item.selected = false
|
|
|
if (index == i) {
|
|
|
- item.sliced = true
|
|
|
- item.selected = true
|
|
|
+ // item.sliced = true
|
|
|
+ // item.selected = true
|
|
|
}
|
|
|
})
|
|
|
chart.update({
|
|
|
@@ -1838,8 +1844,8 @@ let app = new Vue({
|
|
|
if (i === len) {
|
|
|
i = 0;
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
})
|
|
|
chart.update({
|
|
|
series: [{
|
|
|
@@ -1943,11 +1949,11 @@ let app = new Vue({
|
|
|
mouseOver: function (e) { //鼠标移入停止轮播并且找到移入的当前数据设为选中
|
|
|
//console.log(e)
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
})
|
|
|
- chartData[e.target.index].sliced = true
|
|
|
- chartData[e.target.index].selected = true
|
|
|
+ // chartData[e.target.index].sliced = true
|
|
|
+ // chartData[e.target.index].selected = true
|
|
|
chart.update({
|
|
|
series: [{
|
|
|
type: 'pie',
|
|
|
@@ -1972,8 +1978,8 @@ let app = new Vue({
|
|
|
timer = setInterval(function () {
|
|
|
autoTooltip(points[i]);
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
if (index == i) {
|
|
|
item.sliced = true
|
|
|
item.selected = true
|
|
|
@@ -1997,8 +2003,8 @@ let app = new Vue({
|
|
|
if (i === len) {
|
|
|
i = 0;
|
|
|
chartData.forEach((item, index) => {
|
|
|
- item.sliced = false
|
|
|
- item.selected = false
|
|
|
+ // item.sliced = false
|
|
|
+ // item.selected = false
|
|
|
})
|
|
|
chart.update({
|
|
|
series: [{
|
|
|
@@ -2039,6 +2045,9 @@ let app = new Vue({
|
|
|
tooltip: {
|
|
|
show: true,
|
|
|
trigger: "axis",
|
|
|
+ formatter: data => {
|
|
|
+ return `${data[0].name}<br /><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[0].color.colorStops[0].color}"></span> ${data[0].seriesName}:${data[0].value}亿<br/><span style="display:inline-block;border-radius:50%; width:7px;height:7px;background-color:${data[1].color.colorStops[0].color}"></span> ${data[1].seriesName}:${data[1].value}亿`
|
|
|
+ },
|
|
|
axisPointer: {
|
|
|
// 坐标轴指示器,坐标轴触发有效
|
|
|
type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
|
|
|
@@ -2074,7 +2083,7 @@ let app = new Vue({
|
|
|
},
|
|
|
},
|
|
|
yAxis: {
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
axisTick: {
|
|
|
lineStyle: {
|
|
|
color: "#18416F",
|
|
|
@@ -2116,7 +2125,8 @@ let app = new Vue({
|
|
|
name: "2023年额度",
|
|
|
type: "bar",
|
|
|
data: left3[0],
|
|
|
- showBackground: true,
|
|
|
+ stack: 'Ad',
|
|
|
+ showBackground: false,
|
|
|
backgroundStyle: {
|
|
|
color: "#18416F",
|
|
|
},
|
|
|
@@ -2136,6 +2146,30 @@ let app = new Vue({
|
|
|
]),
|
|
|
},
|
|
|
},
|
|
|
+ {
|
|
|
+ name: "总额度",
|
|
|
+ type: "bar",
|
|
|
+ data: left3[0],
|
|
|
+ stack: 'Ad',
|
|
|
+ showBackground: false,
|
|
|
+ backgroundStyle: {
|
|
|
+ color: "#18416F",
|
|
|
+ },
|
|
|
+ barWidth: "20",
|
|
|
+ itemStyle: {
|
|
|
+ // barBorderRadius: [10, 10, 0, 0],
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [
|
|
|
+ {
|
|
|
+ offset: 0,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ offset: 1,
|
|
|
+ color: '#69c0ff',
|
|
|
+ },
|
|
|
+ ]),
|
|
|
+ },
|
|
|
+ },
|
|
|
],
|
|
|
legend: {
|
|
|
// data: ["2022年额度", "2023年额度"],
|
|
|
@@ -2160,16 +2194,19 @@ let app = new Vue({
|
|
|
myChart.on('click', function (param) {
|
|
|
that.titleName = param.name
|
|
|
that.echartEnterpriseShow = true
|
|
|
- let findData = dataList.find(item => {
|
|
|
- return item.mdnb_textfield == param.name
|
|
|
- })
|
|
|
- common1[0] = findData.mdnb_amountfield18
|
|
|
- common1[1] = findData.mdnb_amountfield20
|
|
|
- common1[2] = findData.mdnb_amountfield19
|
|
|
- common1[3] = findData.mdnb_amountfield26
|
|
|
- common1[4] = findData.mdnb_amountfield27
|
|
|
- common1[5] = findData.mdnb_amountfield25
|
|
|
- common2[0] = findData.mdnb_decimalfield6
|
|
|
+ // 如果是接口版数据版
|
|
|
+ if(that.versions){
|
|
|
+ let findData = dataList.find(item => {
|
|
|
+ return item.mdnb_textfield == param.name
|
|
|
+ })
|
|
|
+ common1[0] = findData.mdnb_amountfield18
|
|
|
+ common1[1] = findData.mdnb_amountfield20
|
|
|
+ common1[2] = findData.mdnb_amountfield19
|
|
|
+ common1[3] = findData.mdnb_amountfield26
|
|
|
+ common1[4] = findData.mdnb_amountfield27
|
|
|
+ common1[5] = findData.mdnb_amountfield25
|
|
|
+ common2[0] = findData.mdnb_decimalfield6
|
|
|
+ }
|
|
|
setTimeout(() => {
|
|
|
that.initChartBall()
|
|
|
});
|
|
|
@@ -2184,7 +2221,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -2394,7 +2431,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -2604,7 +2641,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -2815,7 +2852,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -3152,13 +3189,19 @@ let app = new Vue({
|
|
|
],
|
|
|
}
|
|
|
let that = this
|
|
|
- this.chartCarousel.on('click', function (param) {
|
|
|
- that.titleName = param.name
|
|
|
- that.echartSingleTipShow = true
|
|
|
- setTimeout(() => {
|
|
|
- that.initChartLTip()
|
|
|
- });
|
|
|
+ // this.chartCarousel.on('click', function (param) {
|
|
|
+ // that.titleName = param.name
|
|
|
+ // that.echartSingleTipShow = true
|
|
|
+ // setTimeout(() => {
|
|
|
+ // that.initChartLTip()
|
|
|
+ // });
|
|
|
+ // })
|
|
|
+ this.chartCarousel.on('mouseover', (params) => {
|
|
|
+ that.$refs.aaa.handleHover(true,1,2,3,4)
|
|
|
})
|
|
|
+ this.chartCarousel.on('mouseout', (params) => {
|
|
|
+ that.$refs.aaa.handleHover(false,1,2,3,4)
|
|
|
+ })
|
|
|
this.chartCarousel.setOption(option)
|
|
|
// tools.loopShowTooltip(myChart, option, {
|
|
|
// nterval: 2000,
|
|
|
@@ -3185,7 +3228,7 @@ let app = new Vue({
|
|
|
tooltip: {
|
|
|
trigger: "axis",
|
|
|
formatter: function (params) {
|
|
|
- var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[1].data[3] + '亿元';
|
|
|
+ var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[1].data[3] + '亿';
|
|
|
return tip
|
|
|
},
|
|
|
textStyle: {
|
|
|
@@ -3337,7 +3380,7 @@ let app = new Vue({
|
|
|
tooltip: {
|
|
|
trigger: "axis",
|
|
|
formatter: function (params) {
|
|
|
- var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿元' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[1].data[3] + '亿元';
|
|
|
+ var tip = params[0].axisValue + '<br/>' + params[0].marker + params[0].data[1] + ':' + params[0].data[2] + '个,' + params[0].data[3] + '亿' + '<br/>' + params[1].marker + params[1].data[1] + ':' + params[1].data[2] + '个,' + params[1].data[3] + '亿';
|
|
|
return tip
|
|
|
},
|
|
|
textStyle: {
|
|
|
@@ -3477,7 +3520,7 @@ let app = new Vue({
|
|
|
let that = this
|
|
|
|
|
|
var option = {
|
|
|
- colors: ['#74a55d', '#cea446', '#b84b4b', '#5593ab', '#2a7652', '#c3643c', '#714585', '#b75d9f'],
|
|
|
+ colors: ['#a79c57', '#cc8c29', '#91a65f', '#e1d7da', '#383062', '#034a39','#b48494','#85868b'],
|
|
|
chart: {
|
|
|
type: 'pie',
|
|
|
backgroundColor: 'rgba(0,0,0,0)',
|
|
|
@@ -3568,7 +3611,8 @@ let app = new Vue({
|
|
|
showInLegend: true, // 图例
|
|
|
cursor: 'pointer',
|
|
|
size: 500,
|
|
|
- innerSize: 330, //环形图中间空白,0为饼图
|
|
|
+ // innerSize: 330, //环形图中间空白,0为饼图
|
|
|
+ innerSize: 0, //环形图中间空白,0为饼图
|
|
|
depth: 75, //立体高度
|
|
|
slicedOffset: 40, //动画距离
|
|
|
dataLabels: {
|
|
|
@@ -3784,7 +3828,7 @@ let app = new Vue({
|
|
|
yAxis: [
|
|
|
{
|
|
|
type: 'value',
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
splitLine: {
|
|
|
show: true,
|
|
|
lineStyle: {
|
|
|
@@ -4245,7 +4289,7 @@ let app = new Vue({
|
|
|
let option = {
|
|
|
tooltip: {
|
|
|
trigger: 'axis',
|
|
|
- formatter: '{a0}:{c0}' + '亿元', //+ '<br/>'+ '{a1}:{c1}' + '%',
|
|
|
+ formatter: '{a0}:{c0}' + '亿', //+ '<br/>'+ '{a1}:{c1}' + '%',
|
|
|
axisPointer: {
|
|
|
// type: 'cross',',
|
|
|
},
|
|
|
@@ -4292,7 +4336,7 @@ let app = new Vue({
|
|
|
yAxis: [
|
|
|
{
|
|
|
type: 'value',
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
splitLine: {
|
|
|
show: true,
|
|
|
lineStyle: {
|
|
|
@@ -4383,7 +4427,7 @@ let app = new Vue({
|
|
|
num: item.value,
|
|
|
sliced: false,
|
|
|
selected: false,
|
|
|
- color: index == 0 ? '#74a55d' : '#cea446'
|
|
|
+ color: index == 0 ? '#a79c57' : '#cc8c29'
|
|
|
}
|
|
|
chartData.push(obj)
|
|
|
|
|
|
@@ -4505,7 +4549,8 @@ let app = new Vue({
|
|
|
showInLegend: true, // 图例
|
|
|
cursor: 'pointer',
|
|
|
size: 500,
|
|
|
- innerSize: 330, //环形图中间空白,0为饼图
|
|
|
+ // innerSize: 330, //环形图中间空白,0为饼图
|
|
|
+ innerSize: 0, //环形图中间空白,0为饼图
|
|
|
depth: 75, //立体高度
|
|
|
slicedOffset: 40, //动画距离
|
|
|
dataLabels: {
|
|
|
@@ -4737,7 +4782,7 @@ let app = new Vue({
|
|
|
yAxis: [
|
|
|
{
|
|
|
type: 'value',
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
nameTextStyle: {
|
|
|
color: 'rgba(255,255,255,0.6)',
|
|
|
},
|
|
|
@@ -4985,7 +5030,7 @@ let app = new Vue({
|
|
|
bottom: '5%',
|
|
|
},
|
|
|
yAxis: {
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
splitLine: {
|
|
|
show: true,
|
|
|
lineStyle: {
|
|
|
@@ -5048,7 +5093,7 @@ let app = new Vue({
|
|
|
itemStyle: itemStyle,
|
|
|
data: right5[0],
|
|
|
symbolSize: function (data) {
|
|
|
- return Math.sqrt(data[1]) * 9;
|
|
|
+ return Math.sqrt(Math.abs(data[1])) * 9;
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
@@ -5057,7 +5102,7 @@ let app = new Vue({
|
|
|
itemStyle: itemStyle,
|
|
|
data: right5[1],
|
|
|
symbolSize: function (data) {
|
|
|
- return Math.sqrt(data[1]) * 8;
|
|
|
+ return Math.sqrt(Math.abs(data[1])) * 8;
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
@@ -5066,7 +5111,7 @@ let app = new Vue({
|
|
|
itemStyle: itemStyle,
|
|
|
data: right5[2],
|
|
|
symbolSize: function (data) {
|
|
|
- return Math.sqrt(data[1]) * 7;
|
|
|
+ return Math.sqrt(Math.abs(data[1])) * 7;
|
|
|
},
|
|
|
}
|
|
|
]
|
|
|
@@ -5206,7 +5251,7 @@ let app = new Vue({
|
|
|
yAxis: [
|
|
|
{
|
|
|
type: 'value',
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
nameTextStyle: {
|
|
|
color: 'rgba(255,255,255,0.6)',
|
|
|
},
|
|
|
@@ -5465,7 +5510,7 @@ let app = new Vue({
|
|
|
yAxis: [
|
|
|
{
|
|
|
type: 'value',
|
|
|
- name: '亿元',
|
|
|
+ name: '亿',
|
|
|
nameTextStyle: {
|
|
|
color: 'rgba(255,255,255,0.6)',
|
|
|
},
|