chart width 100%
This commit is contained in:
parent
41a9fcfcf2
commit
22e809bbae
|
@ -59,10 +59,10 @@
|
||||||
|
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<chart ref="chart1" :options="loadOption" :autoresize="true"></chart>
|
<chart ref="chart1" :options="loadOption" class="chart-config" :autoresize="true"></chart>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<chart ref="chart2" :options="resOption" :autoresize="true"></chart>
|
<chart ref="chart2" :options="resOption" class="chart-config" :autoresize="true"></chart>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
|
@ -276,4 +276,8 @@
|
||||||
border-left-width: 3px;
|
border-left-width: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.chart-config {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue