Version
5.0.2
Steps to reproduce
legend过多出现了滚动条,然后图例的顶部会被截断一点点

legend:{
bottom: 6
data: ["均价(元/平方米)"]
height: 66
itemHeight: 12
itemWidth: 12
lineHeight: 66
pageIconColor: "#808C9A"
pageIconSize: 12
pageTextStyle: {color: "#EBEDEE", height: 10}
selected: {均价(元/平方米): true}
show: true
textStyle:
color: "#EBEDEE"
fontSize: 12
lineHeight: 58
padding: (4) [6, 0, 0, 0]
proto: Object
type: "scroll"
}
What is expected?
然后想通过设置legend.textStyle. lineHeight 高一点来让图例的文字往下居中,但是lineHeight 属性在5.x上不生效,在旧版本生效
What is actually happening?
实际结果 lineHeight 属性不生效
Version
5.0.2
Steps to reproduce
legend过多出现了滚动条,然后图例的顶部会被截断一点点

legend:{
bottom: 6
data: ["均价(元/平方米)"]
height: 66
itemHeight: 12
itemWidth: 12
lineHeight: 66
pageIconColor: "#808C9A"
pageIconSize: 12
pageTextStyle: {color: "#EBEDEE", height: 10}
selected: {均价(元/平方米): true}
show: true
textStyle:
color: "#EBEDEE"
fontSize: 12
lineHeight: 58
padding: (4) [6, 0, 0, 0]
proto: Object
type: "scroll"
}
What is expected?
然后想通过设置legend.textStyle. lineHeight 高一点来让图例的文字往下居中,但是lineHeight 属性在5.x上不生效,在旧版本生效
What is actually happening?
实际结果 lineHeight 属性不生效