some modify

This commit is contained in:
jiaming743 2019-01-11 14:43:26 +08:00
parent 03ca725903
commit e2e51986cb
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -132,6 +132,8 @@ export default {
data: ['西峡', '周口', '南阳', '驻马店', '郑州', '洛阳']
},
y: {
min: 0,
max: 100
},
labelLine: {
data: ['车流量'],