3 Star 2 Fork 1

summer!/yiqing_pyecharts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
中国疫情折线图1.html 10.66 KB
一键复制 编辑 原始数据 按行查看 历史
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>中国疫情折线图</title>
<script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
</head>
<body>
<div id="fb2dc15152304ed888213a37f35ed487" class="chart-container" style="width:1720px; height:720px;"></div>
<script>
var chart_fb2dc15152304ed888213a37f35ed487 = echarts.init(
document.getElementById('fb2dc15152304ed888213a37f35ed487'), 'white', {renderer: 'canvas'});
var option_fb2dc15152304ed888213a37f35ed487 = {
"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": "line",
"name": "\u4e2d\u56fd\u65b0\u589e\u75c5\u4f8b",
"connectNulls": false,
"symbolSize": 4,
"showSymbol": true,
"smooth": false,
"clip": true,
"step": false,
"data": [
[
4.12,
23
],
[
4.13,
29
],
[
4.14,
20
],
[
4.15,
18
],
[
4.16,
34
],
[
4.17,
36
],
[
4.18,
42
],
[
4.19,
25
],
[
4.2,
31
],
[
4.21,
11
],
[
4.22,
37
],
[
4.23,
22
],
[
4.24,
23
],
[
4.25,
20
],
[
4.26,
19
],
[
4.27,
26
],
[
4.28,
33
],
[
4.29,
33
],
[
4.3,
27
],
[
5.01,
27
],
[
5.02,
18
],
[
5.03,
27
],
[
5.04,
19
],
[
5.05,
18
],
[
5.06,
28
],
[
5.07,
15
],
[
5.08,
22
],
[
5.09,
13
],
[
5.1,
33
],
[
5.11,
28
],
[
5.12,
32
],
[
5.13,
35
],
[
5.14,
49
],
[
5.15,
206
],
[
5.16,
236
],
[
5.17,
358
],
[
5.18,
258
],
[
5.19,
286
],
[
5.2,
317
],
[
5.21,
325
],
[
5.22,
743
],
[
5.23,
480
],
[
5.24,
612
],
[
5.25,
554
],
[
5.26,
655
],
[
5.27,
677
],
[
5.28,
570
],
[
5.29,
503
],
[
5.3,
381
],
[
5.31,
378
],
[
6.01,
362
],
[
6.02,
571
],
[
6.03,
610
],
[
6.04,
497
],
[
6.05,
541
],
[
6.06,
368
],
[
6.07,
233
],
[
6.08,
222
],
[
6.09,
300
],
[
6.1,
278
]
],
"hoverAnimation": true,
"label": {
"show": true,
"position": "top",
"margin": 8
},
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
},
"areaStyle": {
"opacity": 0
},
"zlevel": 0,
"z": 0
}
],
"legend": [
{
"data": [
"\u4e2d\u56fd\u65b0\u589e\u75c5\u4f8b"
],
"selected": {
"\u4e2d\u56fd\u65b0\u589e\u75c5\u4f8b": true
},
"show": true,
"padding": 5,
"itemGap": 10,
"itemWidth": 25,
"itemHeight": 14
}
],
"tooltip": {
"show": true,
"trigger": "item",
"triggerOn": "mousemove|click",
"axisPointer": {
"type": "line"
},
"showContent": true,
"alwaysShowContent": false,
"showDelay": 0,
"hideDelay": 100,
"textStyle": {
"fontSize": 14
},
"borderWidth": 0,
"padding": 5
},
"xAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
},
"data": [
4.12,
4.13,
4.14,
4.15,
4.16,
4.17,
4.18,
4.19,
4.2,
4.21,
4.22,
4.23,
4.24,
4.25,
4.26,
4.27,
4.28,
4.29,
4.3,
5.01,
5.02,
5.03,
5.04,
5.05,
5.06,
5.07,
5.08,
5.09,
5.1,
5.11,
5.12,
5.13,
5.14,
5.15,
5.16,
5.17,
5.18,
5.19,
5.2,
5.21,
5.22,
5.23,
5.24,
5.25,
5.26,
5.27,
5.28,
5.29,
5.3,
5.31,
6.01,
6.02,
6.03,
6.04,
6.05,
6.06,
6.07,
6.08,
6.09,
6.1
]
}
],
"yAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
}
}
],
"title": [
{
"text": "\u4e2d\u56fd\u75ab\u60c5\u57fa\u672c\u793a\u4f8b",
"padding": 5,
"itemGap": 10
}
]
};
chart_fb2dc15152304ed888213a37f35ed487.setOption(option_fb2dc15152304ed888213a37f35ed487);
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/summer502/yiqing_pyecharts.git
git@gitee.com:summer502/yiqing_pyecharts.git
summer502
yiqing_pyecharts
yiqing_pyecharts
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385