Open lin493369 opened 7 years ago
You have to edit the Chart.js. Replace line 13, flex:1 by flexGrow: 1 and rebundle the package
Replacing flex with flexGrow didn't solve the issue for me - instead I saw @robcalcroft's code and noticed that he deleted the flex property in line 13. Changing that line fixed it for me.
As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.
RN Version:0.38.0 Chart Version:1.0.8-beta
When I run chart component in 0.37.0,it work well.But run in 0.38.0,when I set the chart height,it show the error:
code is:
style:
When I replace Chart with Text ,it work well I am so confuse to this error,could someone tell me how to fix it.Thx!