caixing200 opened a new issue #8484: 微信小程序_雷达图的轴标签值无法显示 URL: https://github.com/apache/incubator-echarts/issues/8484 <!-- 为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。 --> ### One-line summary [问题简述] 微信小程序项目需要用到雷达图,其中原型上有需求在雷达图的轴线上显示标签值,按官方配置教程使用会报错。 ### Version & Environment [版本及环境]微信小程序,基础库版本2.0.0 + ECharts version [ECharts 版本]:V4.0.3; V4.0.4; V4.1.0.RC2 + Browser version [浏览器类型和版本]:微信开发者工具 + OS Version [操作系统类型和版本]:WIN10 1709 ### Expected behaviour [期望结果] ### ECharts option [ECharts配置项] <!-- Copy and paste your 'echarts option' here. --> <!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 option。如何得到能运行的 option 参见上方的 guidelines for contributing] --> ```javascript option = { backgroundColor: "#ffffff", color: ["#FF9F7F", "#04c38e"], legend: [{ left: '10%', top: 32, selectedMode: false, formatter: '{a|{name}}', textStyle:{ rich: { a:{ color: '#ff0000', fontWeight: 600, fontSize: 16 } } }, data: [{name: '自测'}] }, { right: '10%', top: 25, selectedMode: false, formatter: ['{a|参测企业}','{a|平均值}'].join('\n'), textStyle: { rich: { a: { color: '#000', fontWeight: 600, fontSize: 16, width:30 } } }, data: [{name:'参测企业平均值'}] }], radar: { // shape: 'circle', indicator: [{ name: '销售', max: 20, color: '#000', axisLine: { lineStyle: { color: '#ff0000' } }, axisTick: { show: true }, axisLabel: { show: true, formatter: function (value, index) { return value; } } }, { name: '仓储', max: 20, color: '#000' }, { name: '管理', max: 20, color: '#000' }, { name: '生产', max: 20, color: '#000' }, { name: '采购', max: 20, color: '#000' } ] }, series: [{ type: 'radar', itemStyle: { normal: { areaStyle: { type: 'default' } } }, data: [{ value: [10, 14, 10, 13, 19, 10], name: '参测企业平均值' }, { value: [13, 10, 15, 10, 12, 12], name: '自测' } ] }] } ``` ### Other comments [其他信息] <!-- For example: Screenshot or Online demo --> <!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] --> 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
