Giter VIP home page Giter VIP logo

Comments (5)

pritishvaidya avatar pritishvaidya commented on July 24, 2024

Do you want 13 as min value and 34.9 as max value ? Right now what it does is based on the number of sections it divides the colors to speedometer.

from react-native-speedometer.

ductuan10081992 avatar ductuan10081992 commented on July 24, 2024

Do you want 13 as min value and 34.9 as max value ? Right now what it does is based on the number of sections it divides the colors to speedometer.

I want to turn off the index display and explain the index of the chart. can you help me?

from react-native-speedometer.

ductuan10081992 avatar ductuan10081992 commented on July 24, 2024

Do you want 13 as min value and 34.9 as max value ? Right now what it does is based on the number of sections it divides the colors to speedometer.

If I split the parts unequally, how can I do this?
Example:
Blue: 1 to 15
Red: 16 to 60
Purple: 61 to 90.
and I want to turn off the index display and explain the index of the chart???? please teach me.
Please help me to day. Thank you very much!!!

from react-native-speedometer.

ductuan10081992 avatar ductuan10081992 commented on July 24, 2024

Do you want 13 as min value and 34.9 as max value ? Right now what it does is based on the number of sections it divides the colors to speedometer.

How can I use the value as a decimal? example 18.6 or 20.9

from react-native-speedometer.

pritishvaidya avatar pritishvaidya commented on July 24, 2024

The code is dependant on circle radi which is generated by splitting the labels equally across 180deg. Therefore you can't split it unequally for now.

The Label Name can be disabled by removing name from labels array
{ name: '', labelColor: '#ff2900', activeBarColor: '#ff2900', },

Index cannot be removed for now.
I'll add the enhancement to the TODOS and will complete them whenever I am available.

Since the speedometer works based on number of labels, it will automatically take care if the split results in decimal values.

Thanks

from react-native-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.