Giter VIP home page Giter VIP logo

Comments (9)

theimo1221 avatar theimo1221 commented on July 24, 2024 1

Oh now I see, I didn´t noticed the error, was missing an set on true.

Fixed it in #80 and added changing of text

@mifunetoshiro Thanks 😃

from crypto-whale-watching-app.

theimo1221 avatar theimo1221 commented on July 24, 2024

The flashing is due to dash updating data, against periodic call in js to change color. If we increase the time of color change in JS we highly increase CPU load
We tested it:
100ms Interval CPU increase from 4% to 6%
50 ms 4% to 8%
10 ms 4% to 12%
5 ms 4% to 18%
1 ms 4% to 50% resulting in lag wich increases flashing 😆

The name changing can be done, will do it tomorrow.

from crypto-whale-watching-app.

mifunetoshiro avatar mifunetoshiro commented on July 24, 2024

Ok, I see. and currently if I want to unfreeze, toggling doesn't work, I have to refresh the page, so I guess there is a bug.

from crypto-whale-watching-app.

theimo1221 avatar theimo1221 commented on July 24, 2024

It itself is refreshing side cause we can't restore updating interval routines cause they are from dash/ plotly

from crypto-whale-watching-app.

theimo1221 avatar theimo1221 commented on July 24, 2024

@mifunetoshiro does this solve your question, if so vote4close

from crypto-whale-watching-app.

mifunetoshiro avatar mifunetoshiro commented on July 24, 2024

Ok, as long as the Freeze button gets renamed to "Unfreeze" when toggled, and clicking on "Unfreeze" refreshes the page so it starts refreshing again xD

from crypto-whale-watching-app.

mifunetoshiro avatar mifunetoshiro commented on July 24, 2024

@theimo1221 After activating colorblind, the button doesn't change to "Deactivate Colorblind." Also missing ; on line 38?

from crypto-whale-watching-app.

theimo1221 avatar theimo1221 commented on July 24, 2024

Nice spot with the ;
And check if you have newest js file in browser or still the old one
If so clear cache to load new one

from crypto-whale-watching-app.

mifunetoshiro avatar mifunetoshiro commented on July 24, 2024

Yea, it's the newest, still doesn't say "Deactivate Colorblind"

from crypto-whale-watching-app.

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.