liunuxuan opened a new issue #14107: URL: https://github.com/apache/echarts/issues/14107
let option = { color: this.getColors(), series: [ { radius: ["65%", "88%"], type: "sunburst", sort: null, // highlightPolicy: "ancestor", // minAngle: 30, //最小角度 startAngle: 160, //起始角度 avoidLabelOverlap: false, itemStyle: { emphasis: { // 普通图表的高亮颜色 color: new echarts.graphic.LinearGradient(1, 1, 0, 0, [ { offset: 0, color: "#0F5AD1", }, { offset: 0.5, color: "#01C2FE", }, { offset: 1, color: "#0F5AD1", }, ]), }, normal: { borderWidth: 0, shadowColor: "#016bbc", shadowBlur: 1, }, borderWidth: 1, }, label: { normal: { show: true, position: "inside", }, rotate: 'tangential', }, emphasis: { label: { show: true, fontSize: "18", fontWeight: "600", color: "#fefb01", }, }, data: data, }, ], }; 我使用的echarts版本: "echarts": "^4.9.0", 展示效果如下: 文字旋转效果无效; ![image](https://user-images.githubusercontent.com/32322814/105672683-cc3b5f00-5f1f-11eb-84f7-eed701b9ab9a.png) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org