Spaces:
Running
Running
Update index.html
Browse files- index.html +50 -23
index.html
CHANGED
@@ -1,24 +1,51 @@
|
|
1 |
-
<!DOCTYPE html>
|
2 |
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<html>
|
2 |
+
<head>
|
3 |
+
<meta charset="utf-8"><link rel="icon" href="https://powerquery.anvil.app/_/theme/M.ico">
|
4 |
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5 |
+
<style>
|
6 |
+
</style>
|
7 |
+
<script src="https://powerquery.anvil.app/_/theme/highcharts.js"></script>
|
8 |
+
<script src="https://cdn.highcharts.com.cn/highcharts/modules/exporting.js"></script>
|
9 |
+
<script src="https://cdn.highcharts.com.cn/highcharts/modules/drilldown.js"></script>
|
10 |
+
<script src="https://powerquery.anvil.app/_/theme/highcharts-zh_CN.js"></script>
|
11 |
+
<script src="https://cdn.highcharts.com.cn/highcharts/themes/grid-light.js"></script>
|
12 |
+
</head>
|
13 |
+
<body>
|
14 |
+
<div id="music">
|
15 |
+
<audio controls="controls" autoplay="autoplay" loop=-1>
|
16 |
+
<source src="https://powerquery.anvil.app/_/theme/tougong.mp3" type="audio/mpeg" />
|
17 |
+
</audio>
|
18 |
+
</div>
|
19 |
+
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
|
20 |
+
<script>
|
21 |
+
Highcharts.chart('container', {
|
22 |
+
chart: {type: 'column'},
|
23 |
+
title: {text: '2021年1月-6月,各城市贡献份额'},
|
24 |
+
subtitle: {text: '点击可查看具体产值数据,数据来源: <a href="https://pbihub.cn">chuiniubi.com</a>.'},
|
25 |
+
xAxis: {type: 'category'},
|
26 |
+
yAxis: {title: {text: '总的贡献份额'}},
|
27 |
+
legend: {enabled: false},
|
28 |
+
plotOptions: {series: {borderWidth: 0,dataLabels: {enabled: true,format: '{point.y:.1f}%'}}},
|
29 |
+
tooltip: {
|
30 |
+
headerFormat: '<span style="font-size:11px">{series.name}</span><br>',
|
31 |
+
pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y:.2f}%</b> of total<br/>'
|
32 |
+
},
|
33 |
+
series: [{name: '大中华区',colorByPoint: true,data: [
|
34 |
+
{name: '西安',y: 56.33,drilldown: '西安'},
|
35 |
+
{name: '北京',y: 24.03,drilldown: '北京'},
|
36 |
+
{name: '长沙',y: 10.38,drilldown: '长沙'},
|
37 |
+
{name: '成都',y: 4.77,drilldown: '成都'},
|
38 |
+
{name: '佛山',y: 0.91,drilldown: '佛山'},
|
39 |
+
{name: '吹牛逼',y: 0.2,drilldown: null}
|
40 |
+
]}],
|
41 |
+
drilldown: {series: [
|
42 |
+
{name: '西安',id: '西安',data: [['v11.0',24.13],['v8.0',17.2],['v9.0',8.11],[ 'v10.0',5.33],['v6.0',1.06],['v7.0',0.5]]},
|
43 |
+
{name: '北京',id: '北京',data: [[ 'v40.0',5],['v41.0',4.32],['v42.0',3.68],['v39.0',2.96]]},
|
44 |
+
{name: '长沙',id: '长沙',data: [['v35',2.76],['v36',2.32],['v37',2.31],['v34',1.27]]},
|
45 |
+
{name: '成都',id: '成都',data: [['v8.0',2.56],['v7.1',0.77],['v5.1',0.42]]},
|
46 |
+
{name: '佛山',id: '佛山',data: [['v12.x',0.34],['v28',0.24],['v27',0.17],['v29',0.16]]}
|
47 |
+
]}
|
48 |
+
});
|
49 |
+
</script>
|
50 |
+
</body>
|
51 |
+
</html>
|