|
|
@ -58,8 +58,10 @@ export default function BoxDoughnutBarChart({ |
|
|
|
{titleLine && <p className='box-chart-title'>{titleLine}</p>} |
|
|
|
{titleLine && <p className='box-chart-title'>{titleLine}</p>} |
|
|
|
{subTitleLine && <p className='box-chart-subtitle'>{subTitleLine}</p>} |
|
|
|
{subTitleLine && <p className='box-chart-subtitle'>{subTitleLine}</p>} |
|
|
|
{dataBarChart.length > 0 ? ( |
|
|
|
{dataBarChart.length > 0 ? ( |
|
|
|
<div className='flex-1' style={{padding: '1.6rem 0'}}> |
|
|
|
<div className='chart-container'> |
|
|
|
<VerticalBarChart data={dataBarChart} labels={labelsBarChart}/> |
|
|
|
<div className='flex-1' style={{ padding: '1.6rem 0', height: '100%', width: '360px' }}> |
|
|
|
|
|
|
|
<VerticalBarChart data={dataBarChart} labels={labelsBarChart} /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
) : ( |
|
|
|
) : ( |
|
|
|
<div className="d-flex justify-content-center align-items-center flex-1"> |
|
|
|
<div className="d-flex justify-content-center align-items-center flex-1"> |
|
|
@ -101,7 +103,7 @@ export default function BoxDoughnutBarChart({ |
|
|
|
<div className="box-chart-container"> |
|
|
|
<div className="box-chart-container"> |
|
|
|
{renderDoughnutSection()} |
|
|
|
{renderDoughnutSection()} |
|
|
|
{renderBarSection()} |
|
|
|
{renderBarSection()} |
|
|
|
<div className='d-flex justify-content-center align-items-center'> |
|
|
|
<div className='d-flex justify-content-center align-items-center' style={{marginTop:'1.2rem'}}> |
|
|
|
<Btn icon={renderIconButtonLeft()} isDisabled={false} onClick={handleClickPrev} /> |
|
|
|
<Btn icon={renderIconButtonLeft()} isDisabled={false} onClick={handleClickPrev} /> |
|
|
|
<div className='d-flex justify-content-center align-item-center' style={{width: 140, alignSelf: 'center'}}> |
|
|
|
<div className='d-flex justify-content-center align-item-center' style={{width: 140, alignSelf: 'center'}}> |
|
|
|
<InputDate |
|
|
|
<InputDate |
|
|
|