mayfield commented on issue #19361: URL: https://github.com/apache/echarts/issues/19361#issuecomment-1851119826
I wanted to update that I have implemented a hack to meet my requirements using a technique that might be adaptable to an official non-hack implementation suitable for all echarts users. I am using the path generated by the line series as a clip-path for a set of colored rectangles. The rectangles are positioned and sized precisely to match up with the path from the line data. I then monitor render events to update positions and sizes as needed. This seems to scale well and perform fine without the issues associated with using a LinearGradient like the current implementation does. I think this would work for both canvas and svg rendering although my hack is based on directly accessing svg based DOM and some custom generated echarts graphics elements currently. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
