react-native-animated-charts
react-native-animated-charts copied to clipboard
CurrentPositionVerticalLine Throwing Error
<ChartPathProvider data={data}>
<CurrentPositionVerticalLine />
<ChartPath
hapticsEnabled={hapticsEnabled}
hitSlop={hitSlop}
smoothingWhileTransitioningEnabled={
smoothingWhileTransitioningEnabled
}
fill="none"
height={SIZE / 2}
stroke="red"
strokeWidth="2"
width={SIZE}
/>
<ChartDot
style={{
backgroundColor: "red",
marginTop: 20,
}} />
</ChartDot>
</ChartPathProvider>
when removing CurrentPositionVerticalLine component, everything works well. However, when adding it, it throws error as the following:

Is there any help on this, I am experiencing same issue here.
It throws the error because there is no such component in the version that you have. Changes are merged to master branch here: #45 , so you see it in readme file, but it is not released yet. Last release was on September, code is added on October so you got it. CurrentPositionVerticalLine and OpeningPositionHorizontalLine won't work with yarn or npm installation. You need to pull the master branch to have those features before they will be released. Hope this helps.
+1 for this issue. When will the new version be released?