yyz945947732 commented on issue #14583: URL: https://github.com/apache/echarts/issues/14583#issuecomment-825404891
> > 这个问题我之前 V4 也遇到过, 需求跟你差不多, 结果没办法放弃了用visualmap改用很多的series叠加的形式, 看了下好像是跟渐变有关系? > > 你解决了吗? 用visualmap的方式我是搞不定了, 如果你配了datazoom可以在放大后看到线过渡的地方有个渐变的效果, 可能visualmap实现这个效果跟渐变有关系, 这个需求后来我是用多个series叠加的方式来做的, 例如把你那个图红色的线图当一个series, 绿色的线图当一个series, 数据中间用null把serires打断, 然后把两个图叠加到一起, 以此模拟这种x轴转换颜色的效果... -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org