Nickszy commented on issue #11905: 仪表盘不支持刻度旋转吗? URL: https://github.com/apache/incubator-echarts/issues/11905#issuecomment-572382522 我有些不懂你的意思。 建议您可以再看一下我之前给的那个用户[实例](https://gallery.echartsjs.com/editor.html?c=xgLtGmtVKw),调整最前面的`realValue`的数值,刷新看下效果。 我认为这就是你需要的效果,如果是的话可以再在示例中搜索一下下面的代码进行修改。 ``` //健康指数数值 "data": [{ "name": "目标值:"+targetValue+"万吨", "value": data.value }] //仪表盘颜色刻度变化 series: ["axisLine": { "lineStyle": { "color": [ [data.value / 100, "#BF18FE"], [1, "#111F42"] ], "width": 8 } }] ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
