pissang edited a comment on issue #9535: 地图中示例【北京公交线路图】How to randomly set lineStyle color URL: https://github.com/apache/incubator-echarts/issues/9535#issuecomment-445104646 In the code ```js lineStyle: { normal: { color: echarts.color.modifyHSL('#5A94DF', Math.round(hStep * idx)) } } ``` Just generate a random color instead of interpolating HSL
---------------------------------------------------------------- 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]
