Could you tell me how to write the line animation on this picture? Ask for guidance?

Mar.09,2021

from the point of view of the animation itself, it may be more convenient to use SVG stroke . All you need to do is to design a good Bezier curve and output it to svg, to extract the path inside. But if there are other requirements, you may have to switch to canvas or hang up the corresponding library.


echarts supports drawing this kind of line, and the bottom layer is drawn with canvas

.
Menu