1 Star 2 Fork 2

ymy1999/pyqt5结合pyecharts的数据库实验疫情分析和体温统计

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
temperature.html 6.65 KB
一键复制 编辑 原始数据 按行查看 历史
ymy1999 提交于 2020-06-08 16:11 +08:00 . 1
<!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="89fa93b4aa58405c8ffb172ac8eca56c" class="chart-container" style="width:900px; height:500px;"></div>
<script>
var chart_89fa93b4aa58405c8ffb172ac8eca56c = echarts.init(
document.getElementById('89fa93b4aa58405c8ffb172ac8eca56c'), 'white', {renderer: 'canvas'});
var option_89fa93b4aa58405c8ffb172ac8eca56c = {
"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": "bar",
"name": "\u5f20\u4e09",
"data": [
36.45,
36.54,
36.47,
36.47,
36.38,
36.64,
36.43,
36.48,
36.6,
36.6,
36.6,
36.4,
36.58,
36.49,
36.56,
36.43
],
"barCategoryGap": "20%",
"label": {
"show": true,
"position": "top",
"margin": 8
}
},
{
"type": "bar",
"name": "\u674e\u56db",
"data": [
36.5,
36.65,
36.53,
36.44,
36.44,
36.51,
36.3,
36.3,
36.77,
36.42,
36.59,
36.32,
36.58,
36.6,
36.49,
36.54
],
"barCategoryGap": "20%",
"label": {
"show": true,
"position": "top",
"margin": 8
}
},
{
"type": "bar",
"name": "\u738b\u4e8c\u9ebb\u5b50",
"data": [
36.45,
36.55,
36.39,
36.46,
36.48,
36.6,
36.46,
36.61,
36.52,
36.48,
36.63,
36.43,
36.62,
36.69,
36.46,
36.68
],
"barCategoryGap": "20%",
"label": {
"show": true,
"position": "top",
"margin": 8
}
},
{
"type": "bar",
"name": "\u5927\u50bb\u5b50",
"data": [
36.66,
36.48,
36.43,
36.39,
36.33,
36.57,
36.64,
36.72,
36.45,
36.5,
36.4,
36.69,
36.5,
36.65,
36.35,
36.45
],
"barCategoryGap": "20%",
"label": {
"show": true,
"position": "top",
"margin": 8
}
}
],
"legend": [
{
"data": [
"\u5f20\u4e09",
"\u674e\u56db",
"\u738b\u4e8c\u9ebb\u5b50",
"\u5927\u50bb\u5b50"
],
"selected": {
"\u5f20\u4e09": true,
"\u674e\u56db": true,
"\u738b\u4e8c\u9ebb\u5b50": true,
"\u5927\u50bb\u5b50": false
},
"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
},
"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": [
"2020-05-23",
"2020-05-24",
"2020-05-25",
"2020-05-26",
"2020-05-27",
"2020-05-28",
"2020-05-29",
"2020-05-30",
"2020-05-31",
"2020-06-01",
"2020-06-02",
"2020-06-03",
"2020-06-04",
"2020-06-05",
"2020-06-06",
"2020-06-07"
]
}
],
"yAxis": [
{
"show": true,
"scale": false,
"nameLocation": "end",
"nameGap": 15,
"gridIndex": 0,
"inverse": false,
"offset": 0,
"splitNumber": 5,
"min": "dataMin",
"minInterval": 0,
"splitLine": {
"show": false,
"lineStyle": {
"show": true,
"width": 1,
"opacity": 1,
"curveness": 0,
"type": "solid"
}
}
}
],
"title": [
{
"text": "\u4e2a\u4eba\u4f53\u6e29\u4fe1\u606f",
"padding": 5,
"itemGap": 10
}
]
};
chart_89fa93b4aa58405c8ffb172ac8eca56c.setOption(option_89fa93b4aa58405c8ffb172ac8eca56c);
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ymy1999/DB-pyqt5_pyechart.git
git@gitee.com:ymy1999/DB-pyqt5_pyechart.git
ymy1999
DB-pyqt5_pyechart
pyqt5结合pyecharts的数据库实验疫情分析和体温统计
master

搜索帮助