🎉 1.4.29
✨ Features added-
-
The prop
topLabelTextStylenow works for stacked Bar charts just like it used to work for simple Bar charts. See #446 (comment) -
Secondary Y axis with negative values in secondary data or dataSet with
isSecondary: truesets are now supported. Independent height, stepHeight, stepValue, mostNegativeValue, noOfSectionsBelowXAxis for primary and secondary Y-axes below origin supported.
🐛 Bug fixes
Fixed the issue- Negative steps and values in in second y axis are incorrect position. See #775
🔨 Refactor
-
Removed unnecessary interpolation for animations in Line charts.
-
Passed
containerHeightIncludingBelowXAxisto therenderChartContentmethod from theBarAndLineChartsWrappercomponent. This will ensure a consistent value of containerHeightIncludingBelowXAxis. -
Updated the util (
maxAndMinUtil) to compute the value ofminItemin case ofroundToDigits:truein gifted-charts-core. -
Moved the computation of below variables from
getHorizSectionValstouseBarAndLineChartsWrapperin gifted-charts-core.- secondaryMaxItem
- secondaryMinItem
- secondaryStepValue
- secondaryNegativeStepValue
- secondaryNoOfSectionsBelowXAxis