|
@ -141,14 +141,14 @@ const Information = (props) => { |
|
|
<div style={{ width: '45%' }}> |
|
|
<div style={{ width: '45%' }}> |
|
|
<XColumn |
|
|
<XColumn |
|
|
domId={'column-chart-1'} |
|
|
domId={'column-chart-1'} |
|
|
height={clientHeight * 0.35} |
|
|
height={clientHeight * 0.32} |
|
|
xAxis={chartData1.map(cd => cd.value).reverse()} |
|
|
xAxis={chartData1.map(cd => cd.value).reverse()} |
|
|
yAxis={chartData1.map(cd => cd.name).reverse()} /> |
|
|
yAxis={chartData1.map(cd => cd.name).reverse()} /> |
|
|
</div> |
|
|
</div> |
|
|
<div style={{ width: '45%' }}> |
|
|
<div style={{ width: '45%' }}> |
|
|
<StackColumn |
|
|
<StackColumn |
|
|
domId={'column-chart-2'} |
|
|
domId={'column-chart-2'} |
|
|
height={clientHeight * 0.35} |
|
|
height={clientHeight * 0.32} |
|
|
xAxis={chartData2.map(cd => cd.name)} |
|
|
xAxis={chartData2.map(cd => cd.name)} |
|
|
yAxis1={chartData2.map(cd => cd.num)} |
|
|
yAxis1={chartData2.map(cd => cd.num)} |
|
|
yAxis2={chartData2.map(cd => cd.repairNum)} /> |
|
|
yAxis2={chartData2.map(cd => cd.repairNum)} /> |
|
@ -156,12 +156,12 @@ const Information = (props) => { |
|
|
</div> |
|
|
</div> |
|
|
<div style={{ display: 'flex', justifyContent: 'space-between', marginTop : 12 }}> |
|
|
<div style={{ display: 'flex', justifyContent: 'space-between', marginTop : 12 }}> |
|
|
<div style={{ width: '45%' }}> |
|
|
<div style={{ width: '45%' }}> |
|
|
<AlarmStatistics height={clientHeight * 0.25} /> |
|
|
<AlarmStatistics height={clientHeight * 0.23} /> |
|
|
</div> |
|
|
</div> |
|
|
<div style={{ width: '45%' }}> |
|
|
<div style={{ width: '45%' }}> |
|
|
<Column |
|
|
<Column |
|
|
domId={'column-chart-3'} |
|
|
domId={'column-chart-3'} |
|
|
height={clientHeight * 0.35} |
|
|
height={clientHeight * 0.32} |
|
|
xAxis={chartData4.map(cd => cd.name)} |
|
|
xAxis={chartData4.map(cd => cd.name)} |
|
|
yAxis={chartData4.map(cd => cd.cost)} /> |
|
|
yAxis={chartData4.map(cd => cd.cost)} /> |
|
|
</div> |
|
|
</div> |
|
|