This commit is contained in:
2022-08-02 14:59:40 +08:00
parent 4c9daa12a8
commit ecea0c0553

View File

@@ -464,6 +464,10 @@ export default {
let manNum = numMax + 1 let manNum = numMax + 1
let positionLeft = 0.4 let positionLeft = 0.4
let max = manNum + 2 * positionLeft let max = manNum + 2 * positionLeft
let data100 = []
for (var i = 0; i < dataLine.length; i++) {
data100.push(100)
}
// var dataLine = [5, 66, 33, 25, 10] // var dataLine = [5, 66, 33, 25, 10]
// let positionLeft = 0.4 // let positionLeft = 0.4
// let max = 100 + 2 * positionLeft // let max = 100 + 2 * positionLeft
@@ -601,7 +605,8 @@ export default {
type: 'bar', type: 'bar',
yAxisIndex: 2, yAxisIndex: 2,
barGap: '-100%', barGap: '-100%',
data: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100], // data: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100],
data: data100,
barWidth: 23, barWidth: 23,
label: { label: {
normal: { normal: {