-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.html
77 lines (76 loc) · 1.94 KB
/
render.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
<!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>
<script type="text/javascript" src="https://echarts-maps.github.io/The-Forbidden-City-Demo/The-Forbidden-City.js"></script>
</head>
<body>
<div id="f248882b1c6a4ebaa6bb1de794eb94ee" style="width:900px; height:500px;"></div>
<script>
var chart_f248882b1c6a4ebaa6bb1de794eb94ee = echarts.init(
document.getElementById('f248882b1c6a4ebaa6bb1de794eb94ee'), 'white', {renderer: 'canvas'});
var option_f248882b1c6a4ebaa6bb1de794eb94ee = {
"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": [],
"legend": [
{
"data": [],
"selected": {},
"show": true
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"formatter": function (params) { return params.name + ' : ' + params.value[2]; },
"textStyle": {
"fontSize": 14
},
"borderWidth": 0
},
"title": [
{
"text": "The Forbidden City in Beijing"
}
],
"geo": {
"map": "The Forbidden City",
"roam": true,
"emphasis": {}
}
};
chart_f248882b1c6a4ebaa6bb1de794eb94ee.setOption(option_f248882b1c6a4ebaa6bb1de794eb94ee);
</script>
</body>
</html>