nihgwu / react-native-pie

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

The charts are not rendering after bundling #15

Open rantoinne opened 6 years ago

rantoinne commented 6 years ago

The charts are not rendering after bundling and in order to see changes I have to turn ON my toggle inspector. Idea: Can we also implement each section as a clickable type, for Ex: clicking on Red section triggers an event and doing so on Green triggers another..? screenshot_1540389589

rantoinne commented 6 years ago

screenshot_1540536821 I see this when opening Toggle inspector mode in emulator. This screen and https://github.com/nihgwu/react-native-pie/issues/15#issue-373499757 <- this are same.

SnehalAgrawal commented 5 years ago

@rantoinne Did you get any solution?

rantoinne commented 5 years ago

@rantoinne Did you get any solution?

Yes @SnehalAgrawal I instead used react-native-svg which is the core dependency for this library..had to study the structure of it..but got my solution..

But the above issue still exists in this library

rafaelmaeuer commented 5 years ago

I have the same issue on Android after upgrading from RN 0.56 to 0.57.

Bildschirmfoto 2019-06-14 um 21 32 17 It looks like this in emulator and on a real device with debug an release builds.

Bildschirmfoto 2019-06-14 um 21 36 12 It looks like this when enabling the inspector mode on emulator in debug build.

cakesoft-ravi commented 5 years ago

@rafaelmaeuer please try and use react-native-svg or you can have a look at this [https://www.npmjs.com/package/react-native-svgwheel-menu]

SnehalAgrawal commented 5 years ago

@rantoinne thanks I'll look into it but for now, I have used react-native-chart-kit. Here is an example for it https://aboutreact.com/react-native-chart-kit/