Dave Vazquez
Dave Vazquez
Have you tried this solution #22?
If you're running this in a simulator it won't work. You need to run it on a physical device.
For anyone running into the same issue, a work-around for this is not to refresh using Metro, but simply closing and re-opening the application on the device. It's the equivalent...
``` const data = { data: [0.4, 0.2, .09, 0.8], colors: ["red", "blue", "green", "yellow"], }; ``` Obviously, use hex colors but this is the way to do it.
> @avnikakkar Hey there, if you are still struggling use this example that format was killing me... ```javascript export default function ProgressRing() { const screenWidth = Dimensions.get("window").width; const { colors...
@avnikakkar, I no longer have an example to share. I switched from `react-native-chart-kit` to `react-native-svg-charts`.