Commit b713b52a authored by 谢章伟's avatar 谢章伟

柱状图调整

parent d329fa51
...@@ -283,7 +283,8 @@ export default { ...@@ -283,7 +283,8 @@ export default {
bottom: "1%" bottom: "1%"
}, },
yAxis: { yAxis: {
show:false show:false,
type:'log'
}, },
xAxis: { xAxis: {
data: ['计划量', '完成量', '余量'], data: ['计划量', '完成量', '余量'],
...@@ -316,7 +317,8 @@ export default { ...@@ -316,7 +317,8 @@ export default {
bottom: "1%" bottom: "1%"
}, },
yAxis: { yAxis: {
show:false show:false,
type:'log'
}, },
xAxis: { xAxis: {
data: ['计划量', '完成量', '余量'], data: ['计划量', '完成量', '余量'],
...@@ -349,7 +351,8 @@ export default { ...@@ -349,7 +351,8 @@ export default {
bottom: "1%" bottom: "1%"
}, },
yAxis: { yAxis: {
show:false show:false,
type:'log'
}, },
xAxis: { xAxis: {
data: ['计划量', '完成量', '余量'], data: ['计划量', '完成量', '余量'],
...@@ -544,7 +547,7 @@ export default { ...@@ -544,7 +547,7 @@ export default {
}) })
}, },
formatNumber(number){ formatNumber(number){
// 格式化保留两位小时,返回数字 // 格式化保留两位小数,返回数字
return Number(conver_num_retain(number).replaceAll(',','')); return Number(conver_num_retain(number).replaceAll(',',''));
}, },
getcarShipTrainCss(){ getcarShipTrainCss(){
...@@ -573,7 +576,7 @@ export default { ...@@ -573,7 +576,7 @@ export default {
color:'#FFFFFF', color:'#FFFFFF',
}, },
barWidth: '40%', barWidth: '40%',
barGap: '50%', barGap: '50%',
emphasis: { emphasis: {
focus: 'series' focus: 'series'
}, },
...@@ -709,6 +712,12 @@ export default { ...@@ -709,6 +712,12 @@ export default {
padding: 0 ; padding: 0 ;
margin: 0 ; margin: 0 ;
} }
#people_bar canvas{
width: 100% ;
height: 100% ;
padding: 0 ;
margin: 0 ;
}
#people_bar div canvas{ #people_bar div canvas{
width: 100% ; width: 100% ;
height: 100% ; height: 100% ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment