Giter VIP home page Giter VIP logo

Comments (2)

palerdot avatar palerdot commented on May 30, 2024

Right now it is not configurable. To format the values, d3format(https://github.com/d3/d3-format) is used and currently, by default values are formatted as integers. I will make this as configurable so that it accommodates wide variety of formatting (as per d3Format) including decimals. Watch out for next release which mostly might contain this configuration change.

from react-d3-speedometer.

palerdot avatar palerdot commented on May 30, 2024

This issue is fixed and released in the new release - 0.2.2. By default, without any changes, decimal values should appear. To have more control on the format, you can use the newly introduced configuration valueFormat. I'm closing this issue as this release should address your issue. Please reopen if you feel still there are issues.

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.