Skip to content

Releases: Abhinandan-Kushwaha/react-gifted-charts

v0.0.11

27 Jan 03:27
4838e79
Compare
Choose a tag to compare

🎉 0.0.11

✨ Features added-

  1. Highlight: Added the feature to highlight a particular Bar, Bar-section (in stacked Bar chart) or Line in Bar charts using the below props-
  • highlightEnabled
  • highlightedBarIndex
  • lowlightOpacity
  • stackHighlightEnabled
  • highlightedStackIndex
  1. Added pointer support to Line, Area, Bar and Stacked Bar charts using the pointerConfig prop. See https://github.com/Abhinandan-Kushwaha/react-native-gifted-charts/blob/HEAD/docs/LineChart/LineChartProps.md#pointerconfig

pointer

v0.0.10

19 Jan 15:57
7c5db90
Compare
Choose a tag to compare

🎉 0.0.10

✨ Features added-

1. Added the below props to render tooltips in Line/Area charts-

  • renderTooltip
  • renderTooltip1
  • renderTooltip2
  • renderTooltip3
  • renderTooltip4
  • renderTooltip5
  • renderTooltipSecondary

Tooltip is rendered on hover. The above props receive a callback function with item and index as parameters.
Tooltips are implemented similar to focusedDataPointLabelComponent. So the props like focusedDataPointShape, focusedDataPointColor etc will be applied to the currently hovered data point.

In case of multi-line charts using dataSet, you can add the renderTolltip property inside the objects of the dataSet array.


2. For Bar and Stacked Bar charts, renderTooltip is now called on hover as well as click.

Earlier it was called only on click. This behaviour can be controlled using the renderTooltipConditions prop whose default value is ['onClick', 'onHover']

v0.0.9

11 Jan 22:52
0d12d10
Compare
Choose a tag to compare

🎉 0.0.9

✨ Features added-

  1. Added support for Radar charts using <RadarChart> component. See Radar chart props

  2. Added strokeLinecap to Line charts to support 'butt' | 'square' | 'round' linecaps. See Abhinandan-Kushwaha/react-native-gifted-charts#961

    Following props have been added-

  • strokeLinecap
  • strokeLinecap1
  • strokeLinecap2
  • strokeLinecap3
  • strokeLinecap4
  • strokeLinecap5
  • Added the strokeLinecap property in secondaryLineConfig and in the items of dataSet array

v0.0.8

29 Dec 18:10
3d0a414
Compare
Choose a tag to compare

v0.0.8

🐛 Bug fixes

  1. Fixed issue with tooltips in Bar and Stacked Bar charts.
  2. Fixed issue with customDataPoint, dataPointLabelComponent and focusedDataPointLabelComponent in Line/Area charts and enhanced the focus related functionality.

🔨 Refactor

  1. Moved tooltip related logic to gifted-charts-core
  2. Moved focus related logic for Line/Area charts to gifted-charts-core
  3. Exported a few more types from gifted-charts-core and exposed them from react-native-gifted-charts

v0.0.6

24 Nov 22:22
5f8cff4
Compare
Choose a tag to compare

Picked the recent changes made in react-native-gifted-charts