Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barchart not get index or not show #618

Open
ritaVaja opened this issue Apr 30, 2024 · 0 comments
Open

Barchart not get index or not show #618

ritaVaja opened this issue Apr 30, 2024 · 0 comments

Comments

@ritaVaja
Copy link

ritaVaja commented Apr 30, 2024

@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
image
then i am chnage filter monthly so here label & tooltip value get correct but my barchart get or display perevses value
image
<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}
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant