Giter VIP home page Giter VIP logo

Comments (6)

palerdot avatar palerdot commented on May 31, 2024

@tinaboyce Can you share the source for the above snippet with multiple speedometers?

from react-d3-speedometer.

palerdot avatar palerdot commented on May 31, 2024

@tinaboyce I see you have given a PR. I will look into this issue and PR and update on this issue. Thanks for your effort.

from react-d3-speedometer.

tinaboyce avatar tinaboyce commented on May 31, 2024

Thanks for looking into it!

I should've updated my findings here. During debugging, I've narrowed down to wierd behaviour with the ticker pumping out wrong values.

My issue above is replicable if you turned of my additions and see the update in storybook.

from react-d3-speedometer.

palerdot avatar palerdot commented on May 31, 2024

I investigated this issue and seems like a d3-scale bug. I have also raised an issue - d3/d3-scale#149

I have created a new branch - https://github.com/palerdot/react-d3-speedometer/tree/issue-27-d3-scale-bugfix with following changes

Since there is a major version bump of d3, this will be released as 0.4.0. I will publish these changes once tests pass in travis CI and update stuffs in this issue. Thanks for raising this issue and suggesting the fix.

from react-d3-speedometer.

palerdot avatar palerdot commented on May 31, 2024

v0.4.0 published - https://www.npmjs.com/package/react-d3-speedometer/v/0.4.0
[Changelog] - https://github.com/palerdot/react-d3-speedometer/blob/master/CHANGELOG.md#040

from react-d3-speedometer.

izzycart avatar izzycart commented on May 31, 2024

@tinaboyce How did you even get this to show... i have been on this for weeks and mine is not showing... I enqueued the index.js in the page i want the speedometer to show, i go an error saying require is not designed. I then searched the internet and just got a solution few minutes ago using Browserify (which i have done and created a bundle file of the index.js (which is located in node_modules>react-d3-speedometer>dist>index.js) and enqueued the bundled js and the error was fixed but speedometer still not showing. Now sure what i'm still missing. I already created an issue here: #37

from react-d3-speedometer.

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.