Hi, How we implemented line racing is quite different from bar racing. For line racing, `endLabel` is the part to control the animation, while bar racing uses setTimeout to make `setOption` calls.
Thanks *Ovilia* On Fri, Nov 17, 2023 at 5:11 PM <ni...@bliq.se.invalid> wrote: > Ok, it's just the default animation. It wasn't showing due to the > extension I am using in Angular, but now all good. > Could there be any way to make the animation smoother, without changing > the dataset or animationDuration? > > On 09.11.2023 08:24, ni...@bliq.se.INVALID wrote: > > Looking at > > https://echarts.apache.org/examples/en/editor.html?c=line-race but > > can't figure out what makes the animation? I mean what makes it > > different from an ordinary line chart, where is the code that steps > > forward each year? > > The bar race uses setInterval but no such thing in the line race > > example? > > Guess I am overlooking something obvious, what? > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org > For additional commands, e-mail: dev-h...@echarts.apache.org > >