You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my case i have added filter in barchart so my filter data display in barchart
ex: always start with weekly filter then i am chnage monthly/yearly so this condition my barchart not show but label & tooltip show
here weekly data show
then i am chnage filter monthly so here label & tooltip value get correct but my barchart get or display perevses value
<View style={[styles.graphWrapper, {width: barWidth}]}>
<BarChart
data={weeklyExpense}
barWidth={10}
spacing={barWidth - 2}
width={barChartWidth}
height={145}
roundedTop
roundedBottom
yAxisLabelWidth={50}
xAxisColor={Color.semiLightGray}
xAxisTextNumberOfLines={2}
renderTooltip={(item, index) => {
return (
@Abhinandan-Kushwaha
in my case i have added filter in barchart so my filter data display in barchart
ex: always start with weekly filter then i am chnage monthly/yearly so this condition my barchart not show but label & tooltip show
here weekly data show
then i am chnage filter monthly so here label & tooltip value get correct but my barchart get or display perevses value
<View style={[styles.graphWrapper, {width: barWidth}]}>
<BarChart
data={weeklyExpense}
barWidth={10}
spacing={barWidth - 2}
width={barChartWidth}
height={145}
roundedTop
roundedBottom
yAxisLabelWidth={50}
xAxisColor={Color.semiLightGray}
xAxisTextNumberOfLines={2}
renderTooltip={(item, index) => {
return (
₹ {item.value}
);
}}
rulesType="solid"
showFractionalValue
yAxisThickness={1}
noOfSections={4}
hideRules={false}
dashWidth={380}
rulesColor={Color.semiLightGray}
leftShiftForTooltip={30}
leftShiftForLastIndexTooltip={55}
maxValue={max | 10}
yAxisTextStyle={styles.yAxisTextStyle}
/>
The text was updated successfully, but these errors were encountered: