Giter VIP home page Giter VIP logo

Comments (9)

Denyllon avatar Denyllon commented on May 27, 2024 1

I'll take a closer look on that as soon as possible.

from highcharts-vue.

Denyllon avatar Denyllon commented on May 27, 2024 1

Hello @petterw03 ,

In which way you defined your chart options, just through placing it within the returned data property or used computed properties? Here is the example which shows how it should be implemented in order to make animation works correctly: https://codesandbox.io/s/qq27v70ny4

Best regards!

from highcharts-vue.

TorsteinHonsi avatar TorsteinHonsi commented on May 27, 2024

There was a bug in Series.update(), causing animation to always be turned off. See highcharts/highcharts#8960. Please try out this fix before diving into the vue wrapper.

from highcharts-vue.

bensladden avatar bensladden commented on May 27, 2024

No Joy unfortunately: https://codesandbox.io/s/ykp4ql9q1x
Also using these product versions:
Highcharts 6.1.3
highcharts-vue 1.2.0
vue ^2.5.2

from highcharts-vue.

bensladden avatar bensladden commented on May 27, 2024

Any word on these issues?

from highcharts-vue.

Denyllon avatar Denyllon commented on May 27, 2024

Hi @bensladden,

First of all, I need to apologize for the silence in this topic, and really thank you for your patience and understanding.

The problem is, that the object passed to the update() function, includes the chart.type equal to the same value as it was before, what causes the problem (but absolutely, it shouldn't be like that). The issue is already reported on our Highcharts repository here: highcharts/highcharts#9197.

At this moment, to workaround it, please delete the chart.type from the chart configuration object, and define the series.type. Additionally, every time when you will update component chartOptions.series object, it shouldn't have the type defined again. I've prepared working example to show, how it should be done: https://codesandbox.io/s/8kzo761x4j

Hope that helps you.

from highcharts-vue.

bensladden avatar bensladden commented on May 27, 2024

Thanks for the update. Ill test this out and see how i go

from highcharts-vue.

petterw03 avatar petterw03 commented on May 27, 2024

Defining the type in the series instead of in the chart config makes no difference to me - I still see no animations.

from highcharts-vue.

petterw03 avatar petterw03 commented on May 27, 2024

Yes, that method works! Thanks!

from highcharts-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.