diff --git a/Graphs/BarGraph/index.js b/Graphs/BarGraph/index.js index 1a94ae2d..c46551ce 100644 --- a/Graphs/BarGraph/index.js +++ b/Graphs/BarGraph/index.js @@ -21,6 +21,7 @@ import { YTICK_LENGTH, DEFAULT_MARGIN_LEFT, NO_DATA_FOUND, + MIN_WIDTH, } from '../../constants'; import xAxis from '../Components/utils/xAxis'; import yAxis from '../Components/utils/yAxis'; @@ -184,6 +185,7 @@ const BarGraph = (props) => { { if (stack) { const value = d.value; diff --git a/Graphs/PieGraph/index.js b/Graphs/PieGraph/index.js index b4be96ea..7be38b70 100755 --- a/Graphs/PieGraph/index.js +++ b/Graphs/PieGraph/index.js @@ -8,7 +8,8 @@ import { } from 'recharts'; import { - LEGEND_PERCENTAGE + LEGEND_PERCENTAGE, + MIN_WIDTH, } from './../../constants'; import { config } from './default.config'; import WithConfigHOC from '../../HOC/WithConfigHOC'; @@ -101,6 +102,7 @@ const PieGraph = (props) => {