如何在echarts中将折线图的特定section/part样式更改为dotted/dashed?

How to change the style of a specific section/part of a line chart to dotted/dashed in echarts?

我正在尝试使用 echarts 实现类似的效果,其中折线图的最后一个 part/section 是虚线,有人可以帮我解决这个问题吗?

Echarts-折线图文档: https://ecomfe.github.io/echarts-doc/public/en/option.html#series-line

我认为你现在唯一能做到这一点的方法是两个系列,每个系列一行。一组为实线,一组为虚线。