Skip to content

v1.4.69

Choose a tag to compare

@Abhinandan-Kushwaha Abhinandan-Kushwaha released this 29 Nov 19:57
· 93 commits to master since this release
dd4a547

🎉 1.4.69

✨ Features added-

  1. Added support for tooltip (dataPointLabelComponent) for Line chart inside Bar chart, using the properties dataPointLabelComponent and showDataPointLabelOnFocus inside the lineConfig prop. dataPointLabelComponent is a callback function with 2 params- item and index. See #1185

🐛 Bug fixes

  1. Fixed the issue - "customDataPoint property breaks the app after updating to Expo SDK 52 and React Native 0.76". See #995

    See the refactor below.

  2. Fixed the issue - "Reduce of empty array with no initial value in piechart". See #169

  3. Fixed the issue- "dynamicLegendComponent passes empty array when used with dataSet". See #1184

  4. Fixed the issue - "App crash when nullish data is passed to PieChart". See #1150

  5. Fixed the issue - "customDataPoint Animation not working in 1.4.63". See #1141

🔨 Refactor

In Line chart, for customDataPoint and dataPointLabelComponent, used <ForeignObject> only for web, and used regular View in case of Android and iOS. This change was needed because ForeignObject from react-native-svg is known to have issues on Android and iOS. This fixes #995.

Also see #1035