buhichan commented on issue #9284: URL: https://github.com/apache/echarts/issues/9284#issuecomment-817476744
currently visualMap over Y-axis seems buggy to me, see https://codesandbox.io/s/dreamy-neumann-b8iz9?file=/src/App.js 1. if use the pieces around lines#47, it throws error, I have to hack it around by add lower bound and upper bound stops. 2. Threshold value between stops have to depend on canvas size and line width, or else you will get a buggy "double color line". Try adjust the threshold range input in the example. I wish there exists a lower level API to draw different line segment based on individual data item, instead of the current linear gradient solution. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
