Closed samuel-rodrigues-silva closed 5 months ago
bable.config,js module.exports = function (api) { api.cache(true); return { presets: ['babel-preset-expo'], plugins: ['nativewind/babel'], }; };
"react-native-gifted-charts": "^1.4.10",
"react-native-linear-gradient": "^2.8.3",
"react-native-paper": "^5.12.3",
"react-native-svg": "^14.1.0",
<View style={{ backgroundColor: '#fff', paddingBottom: 40, borderRadius: 10, zIndex: 20, }}
<BarChart frontColor='#000000' verticalLinesZIndex={20} showXAxisIndices barWidth={18} spacing={10} data={location} width={Dimensions.get('window').width - 32} showValuesAsTopLabel xAxisLabelsVerticalShift={60} xAxisLabelTextStyle={{ transform: 'rotate(50deg) translate(-20px,10px)', }} labelWidth={110} hideYAxisText labelsExtraHeight={20} barBorderRadius={3} yAxisThickness={1} xAxisThickness={1} xAxisColor='#ccc' yAxisColor='#CCC' maxValue={locationMaxValue ? locationMaxValue + 1 : 10} />
Solved it by downgrading version 1.4.10 to 1.4.7