diff --git a/package.json b/package.json index 924819b..ac47f68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-gifted-charts", - "version": "1.0.19", + "version": "1.0.20", "description": "The most complete library for Bar, Line, Area, Pie, Donut and Stacked Bar charts in React Native. Allows 2D, 3D, gradient, animations and live data updates.", "main": "src/index.tsx", "files": [ diff --git a/src/BarChart/index.tsx b/src/BarChart/index.tsx index 6fd07c2..28f81b5 100644 --- a/src/BarChart/index.tsx +++ b/src/BarChart/index.tsx @@ -743,6 +743,9 @@ export const BarChart = (props: PropTypes) => { {referenceLine1Config.labelText} @@ -762,6 +765,9 @@ export const BarChart = (props: PropTypes) => { {referenceLine2Config.labelText} @@ -781,6 +787,9 @@ export const BarChart = (props: PropTypes) => { {referenceLine3Config.labelText} @@ -1214,7 +1223,10 @@ export const BarChart = (props: PropTypes) => { { // backgroundColor: 'yellow', height: - containerHeight + 130 + horizSectionsBelow.length * stepHeight + labelsExtraHeight, + containerHeight + + 130 + + horizSectionsBelow.length * stepHeight + + labelsExtraHeight, paddingLeft: initialSpacing, paddingBottom: horizSectionsBelow.length * stepHeight + labelsExtraHeight, diff --git a/src/LineChart/index.tsx b/src/LineChart/index.tsx index 2cf37f5..851d808 100644 --- a/src/LineChart/index.tsx +++ b/src/LineChart/index.tsx @@ -1681,6 +1681,9 @@ export const LineChart = (props: propTypes) => { {referenceLine1Config.labelText} @@ -1700,6 +1703,9 @@ export const LineChart = (props: propTypes) => { {referenceLine2Config.labelText} @@ -1719,6 +1725,9 @@ export const LineChart = (props: propTypes) => { {referenceLine3Config.labelText}