Git Product home page Git Product logo

Comments (6)

Pauan avatar Pauan commented on June 7, 2024

@hombrew Every time you call the this.setState method it will update the chart. Are you calling setState immediately after setting the new data?

from amcharts3-react.

bleachdugu avatar bleachdugu commented on June 7, 2024

the same problem occurs in my project. I use some dirty tricky way to solve it.
the data provider in my project was stored in my reduce state, once it updated, the chart will be rerendered and display show all, then I added a listener to the chart, once it rerendered and call the function to force the chart show all

(event) => {
event.chart.zoomOut();
}

it solve my problem, but it's a dirty way I thought ==

from amcharts3-react.

Pauan avatar Pauan commented on June 7, 2024

@hombrew @bleachdugu I was able to reproduce this bug, and I fixed it.

Please upgrade amcharts3-react to version 1.1.7

You can upgrade by deleting node_modules/amcharts3-react and then running npm install

from amcharts3-react.

hombrew avatar hombrew commented on June 7, 2024

thank you very much!!

from amcharts3-react.

devilsbibble avatar devilsbibble commented on June 7, 2024

Could someone help me about this problem?
My amcharts3-react version is 3.21.5 , but still have this problem

from amcharts3-react.

Pauan avatar Pauan commented on June 7, 2024

@devilsbibble It seems this got broken again.

We just now released a fix in version 3.21.6 of AmCharts.

If you are using our CDN (https://www.amcharts.com/lib/3/amcharts.js) then you do not need to change anything, you already have the fix. You might need to clear your browser's cache.

If you downloaded AmCharts from somewhere else (such as our Commercial Downloads center, or npm) then you will need to redownload the latest version of AmCharts.

Here is a working demo.

from amcharts3-react.

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.