ZoeDuan commited on
Commit
4c16f7f
1 Parent(s): 38b3411

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +0 -24
index.html CHANGED
@@ -8,25 +8,6 @@
8
  <script src="https://cdn.jsdelivr.net/npm/echarts@latest/dist/echarts.min.js"></script>
9
  <!-- Include jQuery library -->
10
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
11
- <!-- <style>
12
- /* Make the chart responsive */
13
- #main {
14
- width: 100%;
15
- max-width: 1200px;
16
- height: 100vh;
17
- max-height: 800px;
18
- margin: 5cm auto 0 auto;
19
- transform: scale(0.8);
20
- transform-origin: top left;
21
- }
22
-
23
- /* Adjust scaling for smaller screens */
24
- @media (max-width: 768px) {
25
- #main {
26
- transform: scale(0.6);
27
- }
28
- } -->
29
- <!-- </style> -->
30
  </head>
31
  <body>
32
  <!-- Placeholder for the chart -->
@@ -34,12 +15,7 @@
34
 
35
  <script>
36
  var chartDom = document.getElementById('main');
37
- // if (myChart){
38
- // myChart.dispose()
39
- // }
40
  var myChart = echarts.init(chartDom);
41
- // window.addEventListener('resize', function() {
42
- // myChart.resize();
43
 
44
  myChart.showLoading();
45
 
 
8
  <script src="https://cdn.jsdelivr.net/npm/echarts@latest/dist/echarts.min.js"></script>
9
  <!-- Include jQuery library -->
10
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  </head>
12
  <body>
13
  <!-- Placeholder for the chart -->
 
15
 
16
  <script>
17
  var chartDom = document.getElementById('main');
 
 
 
18
  var myChart = echarts.init(chartDom);
 
 
19
 
20
  myChart.showLoading();
21