Open skychavda opened 8 months ago
I use BarChart in my app in which I have to change the top bar label and rerender my own custom labels so I tried formatTopBarValue in chartConfig but this gives me result like below. Which is not I want.
BarChart
formatTopBarValue
chartConfig
formatTopBarValue: e => ( <View style={{justifyContent: 'center', alignItems: 'center'}}> <Text>{e}</Text> <Text>Customer</Text> </View> ),
I have to make design like this where the top bar and axis are customized. So how can I achieve this kind of design in this package?
top bar and axis are customized
I use
BarChart
in my app in which I have to change the top bar label and rerender my own custom labels so I triedformatTopBarValue
inchartConfig
but this gives me result like below. Which is not I want.I have to make design like this where the
top bar and axis are customized
. So how can I achieve this kind of design in this package?