1
This commit is contained in:
@@ -380,30 +380,30 @@
|
||||
name: '累计人工时',
|
||||
type: 'line',
|
||||
data: two.series[0].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: 'top',//在上方显示
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
//label: { //柱体上显示数值
|
||||
// show: true,//开启显示
|
||||
// position: 'top',//在上方显示
|
||||
// textStyle: {//数值样式
|
||||
// fontSize: '20px',
|
||||
// color: '#fff'
|
||||
// },
|
||||
// formatter: '{c}',
|
||||
// },
|
||||
itemStyle: { normal: { color: '#00c771' } }
|
||||
},{
|
||||
name: '当月人工时',
|
||||
type: 'bar',
|
||||
barWidth: 40,
|
||||
data: two.series[1].data,
|
||||
label: { //柱体上显示数值
|
||||
show: true,//开启显示
|
||||
position: 'inside',//内部
|
||||
textStyle: {//数值样式
|
||||
fontSize: '20px',
|
||||
color: '#fff'
|
||||
},
|
||||
formatter: '{c}',
|
||||
},
|
||||
//label: { //柱体上显示数值
|
||||
// show: true,//开启显示
|
||||
// position: 'inside',//内部
|
||||
// textStyle: {//数值样式
|
||||
// fontSize: '20px',
|
||||
// color: '#fff'
|
||||
// },
|
||||
// formatter: '{c}',
|
||||
// },
|
||||
}]
|
||||
category_Two('two', xArr, data)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user