npm react-native-gifted-charts 1.4.71
v1.4.71

latest releases: 1.4.81, 1.4.80, 1.4.79...
9 months ago

🎉 1.4.71

✨ Features added-

  1. Added BubbleChart component which receives data as an array of {x,y,r} values.
    Example-
<BubbleChart
   data={[
      {x:20, y: 4, r: 10},
      {x:40, y: 6, r: 20},
      {x:30, y: 8, r: 60},
      {x:120, y: 5, r: 40}
   ]}
/>

The props of Bubble chart are similar to those of Line chart. The r in the data array is analagous to dataPointRadius in the Line chart.
See the props table here- https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/blob/master/docs/BubbleChart/BubbleChartProps.md

  1. Added the prop- chartContainerProps to Radar chart. It is used to set height, width, shiftX, shiftY, backgroundColor of the radar chart's container. See #1013

chartContainerProps is an object of RadarChartContainerProps type, as defined below-

type RadarChartContainerProps = {
  height?: number; // default: chartSize
  width?: number; // default: chartSize
  shiftX?: number; // default: 0
  shiftY?: number; // default: 0
  backgroundColor?: ColorValue; // default: 'transparent'
};

🐛 Bug fixes

  1. Fixed the issue- "Combined Bar and Line chart, Line chart shifts upward on React Native if isAnimated is true". See #1205

  2. Fixed the "Line chart coloring issue" for area charts, where gradient is unexpectedly applied to line. See #1080

  3. FIxed the issue- "X-axis labels misalignment when using adjustToWidth and parentWidth in Stacked Bar Chart". See #1203

  4. Fixed the issue- "In Line/Area charts verticalLineHeight not set correctly on data item level". See #1202

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

NewReleases is sending notifications on new releases.