some modify
This commit is contained in:
parent
03ca725903
commit
e2e51986cb
|
@ -332,7 +332,11 @@ export default {
|
|||
|
||||
const areaLength = horizon ? axisWH[1] : axisWH[0]
|
||||
|
||||
const tagGap = areaLength / (boundaryGap ? tagsNum : tagsNum - 1)
|
||||
let gapColumnNum = boundaryGap ? tagsNum : tagsNum - 1
|
||||
|
||||
gapColumnNum === 0 && (gapColumnNum = 1)
|
||||
|
||||
const tagGap = areaLength / gapColumnNum
|
||||
|
||||
const halfGap = tagGap / 2
|
||||
|
||||
|
|
|
@ -132,6 +132,8 @@ export default {
|
|||
data: ['西峡', '周口', '南阳', '驻马店', '郑州', '洛阳']
|
||||
},
|
||||
y: {
|
||||
min: 0,
|
||||
max: 100
|
||||
},
|
||||
labelLine: {
|
||||
data: ['车流量'],
|
||||
|
|
Loading…
Reference in New Issue