|
@@ -39,7 +39,9 @@ export default class ColumnChart extends Component {
|
|
|
if (isObjEmpty(detailData) || detailData.length == 0) {
|
|
if (isObjEmpty(detailData) || detailData.length == 0) {
|
|
|
height = '300'
|
|
height = '300'
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ console.log(detailData.length);
|
|
|
height = detailData.length * 30
|
|
height = detailData.length * 30
|
|
|
|
|
+ console.log(height);
|
|
|
}
|
|
}
|
|
|
return (
|
|
return (
|
|
|
<div className='bar-graph'
|
|
<div className='bar-graph'
|