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
When I set initialSpacing={0} to LineChart, every other data point shows my pointerLabelComponent just fine, but not the first one.
I'm working around it by adding a width to yAxisLabelContainerStyle bigger than yAxisLabelWidth (to hide the initial spacing), shifting vertical lines, subtracting this offset from the chart width and rules length. It's a nightmare.
I wonder why I can't "hover" the first data point.
My code is now completely poisoned with my workaround, but I can try to clean it up and post it here if necessary.
Steps to reproduce
Create a LineChart with initialSpacing={0}
Set a custom pointerLabelComponent
Verify that you are unable to show the component on the 1st data point
Remove initialSpacing or set a high enough value and see that now everything works fine
Snack or a link to a repository
No response
version of react-native-gifted-charts
1.4.47
React Native version
0.76.5
Platforms
iOS
Workflow
Expo Go
The text was updated successfully, but these errors were encountered:
Description
When I set
initialSpacing={0}
to LineChart, every other data point shows mypointerLabelComponent
just fine, but not the first one.I'm working around it by adding a
width
toyAxisLabelContainerStyle
bigger thanyAxisLabelWidth
(to hide the initial spacing), shifting vertical lines, subtracting this offset from the chart width and rules length. It's a nightmare.I wonder why I can't "hover" the first data point.
My code is now completely poisoned with my workaround, but I can try to clean it up and post it here if necessary.
Steps to reproduce
initialSpacing={0}
pointerLabelComponent
initialSpacing
or set a high enough value and see that now everything works fineSnack or a link to a repository
No response
version of react-native-gifted-charts
1.4.47
React Native version
0.76.5
Platforms
iOS
Workflow
Expo Go
The text was updated successfully, but these errors were encountered: