Giter VIP home page Giter VIP logo

Comments (8)

hank7444 avatar hank7444 commented on July 19, 2024

I found the problem is react didmount but highchart hasn't loaded already...
But how could I set load event?

from react-highcharts.

hank7444 avatar hank7444 commented on July 19, 2024

I found highchart config has init callback, it works to me, thx!

from react-highcharts.

kirjs avatar kirjs commented on July 19, 2024

Thanks, that's my favorite issue!

from react-highcharts.

hank7444 avatar hank7444 commented on July 19, 2024

@kirjs By the way, I found another issue that it chart object is empty when I use websocket to boardcast
data every second, source code like as follews:

I need to use condition for check chart is empty or not..but I don't know how is happend..

have any good idea?

image

image

image

Every time it will be trigger twice, first I can get chart object but second trigget I can't get it..

image

from react-highcharts.

kirjs avatar kirjs commented on July 19, 2024

Did you try using isPureConfig?

from react-highcharts.

hank7444 avatar hank7444 commented on July 19, 2024

@kirjs not yet, let me try today :)

from react-highcharts.

hank7444 avatar hank7444 commented on July 19, 2024

@kirjs it still has the same problem, Did I make the config right?

image

from react-highcharts.

kirjs avatar kirjs commented on July 19, 2024

Oh, I see now, how about you keep a flag variable and set it to true if loaded?

from react-highcharts.

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.