nihgwu / react-native-pie

Pie chart for React Native
MIT License
107 stars 25 forks source link

React Native - How to give this Curve Direction same as image #50

Open Pragnesh-Dharajiya opened 1 year ago

Pragnesh-Dharajiya commented 1 year ago
8RTJu

@nihgwu @msand @SpencerLynn @zgordon01 @kevkevinpal I am trying to create a donut pie chart in react-native where curve should be in clock direction. I achieved most of it to fulfil the requirement using plugin https://github.com/nihgwu/react-native-pie but I am not finding a way to change the direction.

If anyone has played around with this component then please suggest the code changes to meet the expected UI.

anyone please help me

kevkevinpal commented 1 year ago

not sure worked on this a while ago but I'm pretty sure I only coded it for one direction since that's all we needed it for. Feel free to contribute if you figure out a way to make it go the other direction