About the charts in react-native

#1

Hii everyone,

I am working on a project where i am using the charts of react-native in it.
The “Doughnut chart” which i am using is by default taking 100% as the completion of circle .
I have tried " Progress Circle" in which the progress for completion of the particular circle is ‘1’.
Is there any alternative to change this progress value of these charts to set a custom value which i want ?


#2

Hey @nisha_nishu

The units of value you can use depend the implementation of the library itself. So you’re stuck with 1 and .001, You can try to write a method that can help with converting percentage calculations to a value if you need more precision.

Hope that helps! What you’re working on looks cool!

#3

Thanks @jimmylee Your suggestion worked out for me.
thanks again for your time.

2 Likes
closed #4

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.