Open Jeijie opened 5 months ago
it works well on ios, but not showing label on android.
my code: <BarChart frontColor={'#A9CFFD'} barWidth={20} initialSpacing={10} spacing={24} barBorderTopLeftRadius={4} barBorderTopRightRadius={4} data={[{ value: 15, label: '1月' }, { value: 30, label: '2月', }, { value: 26, label: '3月', }, { value: 42, label: '4月', frontColor: '#298AFC' }, { value: 33, label: '5月', }, { value: 36, label: '6月', }]} />
<BarChart frontColor={'#A9CFFD'} barWidth={20} initialSpacing={10} spacing={24} barBorderTopLeftRadius={4} barBorderTopRightRadius={4} data={[{ value: 15, label: '1月' }, { value: 30, label: '2月', }, { value: 26, label: '3月', }, { value: 42, label: '4月', frontColor: '#298AFC' }, { value: 33, label: '5月', }, { value: 36, label: '6月', }]} />
environment: "react-native-gifted-charts": "^1.4.7", "react-native-svg": "^12.1.0", "react-native-linear-gradient": "^2.6.2", "react-native": "0.59.8",
facing the same issue.
it works well on ios, but not showing label on android.
my code:
<BarChart frontColor={'#A9CFFD'} barWidth={20} initialSpacing={10} spacing={24} barBorderTopLeftRadius={4} barBorderTopRightRadius={4} data={[{ value: 15, label: '1月' }, { value: 30, label: '2月', }, { value: 26, label: '3月', }, { value: 42, label: '4月', frontColor: '#298AFC' }, { value: 33, label: '5月', }, { value: 36, label: '6月', }]} />
environment: "react-native-gifted-charts": "^1.4.7", "react-native-svg": "^12.1.0", "react-native-linear-gradient": "^2.6.2", "react-native": "0.59.8",