Browse Source

服务措施显示444

shibei_master
13176889840 4 years ago
parent
commit
006ebbf9a1
  1. 16
      src/views/modules/visual/measure/service.vue

16
src/views/modules/visual/measure/service.vue

@ -278,7 +278,19 @@ export default {
type: 'category',
axisLabel: {
color: '#fff',
interval: 0
interval: 0,
formatter: function(params) {
// const index = params.indexOf('#')
// const newParams = params.slice(0, index)
let newParamsName = params.length > 6 ? params.substring(0, 6) + '...' : params
return newParamsName
}
},
splitLine: {
show: false
},
splitArea: {
show: false
},
axisTick: {
interval: 0
@ -330,7 +342,7 @@ export default {
show: false
},
emphasis: {
focus: 'series'
focus: 'none'
},
data: categoryList.map(n => {
return n.detail[index].serviceDemandTotal

Loading…
Cancel
Save