| | |
| | | option.dataZoom[0].startValue = option.dataZoom[0].startValue + 1; |
| | | } |
| | | myChart.setOption(option); |
| | | }, 3000) |
| | | }, 6000) |
| | | } |
| | | window.addEventListener('resize', myChart.resize); |
| | | setTimeout(()=>{ |
| | |
| | | .main-cont { |
| | | display: grid; |
| | | grid-template-columns: repeat(3, minmax(100px, 1fr)); |
| | | grid-template-rows: repeat(2, 1fr); |
| | | grid-template-rows: repeat(2, calc(50% - 20px)); |
| | | grid-auto-flow: row; |
| | | padding: 10px; |
| | | margin-bottom: 20px; |
| | |
| | | .main-cont { |
| | | display: grid; |
| | | grid-template-columns: repeat(3, minmax(100px, 1fr)); |
| | | grid-template-rows: repeat(2, 1fr); |
| | | grid-template-rows: repeat(2, calc((100% - 35px)/2)); |
| | | grid-auto-flow: row; |
| | | padding: 10px; |
| | | margin-bottom: 20px; |