npm react-native-gifted-charts 1.4.69
v1.4.69

latest releases: 1.4.78, 1.4.77, 1.4.76...
10 months ago

🎉 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

Don't miss a new react-native-gifted-charts release

NewReleases is sending notifications on new releases.