echarts 为什么文档找不到itemStyle下面的normal选项

dy1byipe  于 5个月前  发布在  Echarts
关注(0)|答案(1)|浏览(54)

Version

5.4.3

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

y3bcpkx1

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

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

- OS:
- Browser:
- Framework:
1

Any additional comments?

1

相关问题