-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrecovered_ratio.html
124 lines (123 loc) · 3.15 KB
/
recovered_ratio.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Awesome-pyecharts</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
</head>
<body>
<div id="d2127ec34140486aa9a405452ed58546" class="chart-container" style="width:400px; height:520px;"></div>
<script>
var chart_d2127ec34140486aa9a405452ed58546 = echarts.init(
document.getElementById('d2127ec34140486aa9a405452ed58546'), 'white', {renderer: 'canvas'});
var option_d2127ec34140486aa9a405452ed58546 = {
"animation": true,
"animationThreshold": 2000,
"animationDuration": 1000,
"animationEasing": "cubicOut",
"animationDelay": 0,
"animationDurationUpdate": 300,
"animationEasingUpdate": "cubicOut",
"animationDelayUpdate": 0,
"color": [
"#c23531",
"#2f4554",
"#61a0a8",
"#d48265",
"#749f83",
"#ca8622",
"#bda29a",
"#6e7074",
"#546570",
"#c4ccd3",
"#f05b72",
"#ef5b9c",
"#f47920",
"#905a3d",
"#fab27b",
"#2a5caa",
"#444693",
"#726930",
"#b2d235",
"#6d8346",
"#ac6767",
"#1d953f",
"#6950a1",
"#918597"
],
"series": [
{
"type": "gauge",
"title": {
"show": true,
"position": "top",
"margin": 8
},
"detail": {
"show": true,
"position": "top",
"margin": 8,
"formatter": "{value}%"
},
"min": 0,
"max": 100,
"splitNumber": 10,
"radius": "100%",
"startAngle": 225,
"endAngle": -45,
"data": [
{
"name": "infections/recovered",
"value": 82.74
}
],
"rippleEffect": {
"show": true,
"brushType": "stroke",
"scale": 2.5,
"period": 4
},
"xAxisIndex": 2,
"yAxisIndex": 2
}
],
"legend": [
{
"data": [
""
],
"selected": {
"": true
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"textStyle": {
"fontSize": 14
},
"borderWidth": 0
},
"title": [
{
"text": "Current Recovered Ratio",
"left": "center",
"padding": 5,
"itemGap": 10
}
]
};
chart_d2127ec34140486aa9a405452ed58546.setOption(option_d2127ec34140486aa9a405452ed58546);
</script>
</body>
</html>