| sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame^] | 1 | <template> |
| 2 | <div class="chart-container"> | ||||
| 3 | <chart height="100%" width="100%" /> | ||||
| 4 | </div> | ||||
| 5 | </template> | ||||
| 6 | |||||
| 7 | <script> | ||||
| 8 | import Chart from '@/components/Charts/MixChart' | ||||
| 9 | |||||
| 10 | export default { | ||||
| 11 | name: 'MixChart', | ||||
| 12 | components: { Chart } | ||||
| 13 | } | ||||
| 14 | </script> | ||||
| 15 | |||||
| 16 | <style scoped> | ||||
| 17 | .chart-container{ | ||||
| 18 | position: relative; | ||||
| 19 | width: 100%; | ||||
| 20 | height: calc(100vh - 84px); | ||||
| 21 | } | ||||
| 22 | </style> | ||||
| 23 | |||||