Skip to content

v1.4.23

Compare
Choose a tag to compare
@Abhinandan-Kushwaha Abhinandan-Kushwaha released this 31 Jul 02:04
· 154 commits to master since this release
70015e4

🎉 1.4.23

✨ Features added-

  1. Added pointerIndex to the parameter list of pointerLabelComponent. This will help conditionally format the pointerLabelComponent based on pointerIndex.

    pointerLabelComponent now accepts 3 parameters- items, secondaryDataItem and pointerIndex.
    One use case would be to position the first and last pointerLabelComponents such that they don't overflow the chart area.

    See https://stackoverflow.com/questions/78472182/changer-pointerlable-style-on-a-certain-index-in-react-native-gifted-chart-linec

  2. Refactored the animateOnDataChange for Line and Area charts to make the animation smooth. animateOnDataChange is now suppported for curved charts as well! See https://stackoverflow.com/questions/78546970/react-native-gifted-charts-not-animating-on-data-change

🔨 Refactor

In gifted-charts-core, replaced findLastIndex() with slice().reverse().findIndex().

See the issue- Abhinandan-Kushwaha/gifted-charts-core#31 and its fix PR- Abhinandan-Kushwaha/gifted-charts-core#33