Mastering Development

How do I animate a dashed line between two points in amcharts 4?

I am trying to build a dashed line between two points in an amCharts 4 map based on this CodePen. I’ve tried something like this without succeed: let lineSeries = chart.series.push(new am4maps.MapLineSeries()); lineSeries.mapLines.template.strokeWidth = 4; lineSeries.mapLines.template.stroke = am4core.color(“#e03e96”); lineSeries.mapLines.template.nonScalingStroke = true; lineSeries.mapLines.template.line.strokeDasharray = `.25rem`; Of course, I can dash the line with CSS by: .amcharts-myline […]