Releases: Abhinandan-Kushwaha/react-gifted-charts
v0.0.11
🎉 0.0.11
✨ Features added-
- 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
- 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
v0.0.10
🎉 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
🎉 0.0.9
✨ Features added-
-
Added support for Radar charts using
<RadarChart>
component. See Radar chart props -
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 insecondaryLineConfig
and in the items ofdataSet
array
v0.0.8
v0.0.8
🐛 Bug fixes
- Fixed issue with tooltips in Bar and Stacked Bar charts.
- Fixed issue with
customDataPoint
,dataPointLabelComponent
andfocusedDataPointLabelComponent
in Line/Area charts and enhanced the focus related functionality.
🔨 Refactor
- Moved tooltip related logic to gifted-charts-core
- Moved focus related logic for Line/Area charts to gifted-charts-core
- Exported a few more types from gifted-charts-core and exposed them from react-native-gifted-charts
v0.0.6
Picked the recent changes made in react-native-gifted-charts