修改
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user