Version
5.4.3
Link to Minimal Reproduction
1
Steps to Reproduce
1
Current Behavior
itemStyle: {
normal: {
borderWidth: 1, //区域边框宽度
borderColor: "#58B9E8", //区域边框颜色
areaColor: "#ffefd5", //区域颜色
label: {
show: true,
textStyle: {
color: "#000",
fontWeight: 600,
fontSize: 20
}
}
}
},
上面代码, 如果不包含normal, 就不会生效
Expected Behavior
跟文档约定保持一致
Environment
- OS:
- Browser:
- Framework:
1
Any additional comments?
1
1条答案
按热度按时间y3bcpkx11#
@a15218378694 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
Why the document cannot find the normal option below itemStyle
BODY
Version
5.4.3
Link to Minimal Reproduction
1
Steps to Reproduce
1
Current Behavior
itemStyle: {
normal: {
borderWidth: 1, //Area border width
borderColor: "#58B9E8", //Area border color
areaColor: "#ffefd5", //Area color
label: {
show: true,
textStyle: {
color: "#000",
fontWeight: 600,
fontSize: 20
}
}
}
},
The above code, if it does not contain normal, will not take effect
Expected Behavior
Be consistent with documentation conventions
Environment
Any additional comments?
1