parent
b80b59d9bc
commit
8235bc1346
@ -0,0 +1,8 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# 基于编辑器的 HTTP 客户端请求
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -0,0 +1,6 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<settings>
|
||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||
<version value="1.0" />
|
||||
</settings>
|
||||
</component>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.12 (pythonProject1)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (pythonProject1)" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/pythonProject1.iml" filepath="$PROJECT_DIR$/.idea/pythonProject1.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -0,0 +1,5 @@
|
||||
阿里云 http://mirrors.aliyun.com/pypi/simple/
|
||||
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
|
||||
豆瓣 http://pypi.douban.com/simple/
|
||||
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
|
||||
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,33 @@
|
||||
import csv
|
||||
import requests
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
def getData():
|
||||
url='https://bj.cityhouse.cn/market/rankforsale.html'
|
||||
headers={
|
||||
'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
|
||||
'Accept-Language':'zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6',
|
||||
'Content-Type':'text/html; charset=utf-8',
|
||||
'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0'
|
||||
}
|
||||
response=requests.get(url=url,headers=headers)
|
||||
soup = BeautifulSoup(response.text, 'lxml')
|
||||
tbody=soup.find('tbody')
|
||||
|
||||
Ver_index=len(tbody.findAll('tr'))
|
||||
Ori_index=len(tbody.findAll('tr')[0].findAll('th'))
|
||||
|
||||
with open('北京市区房价.csv','a',encoding='utf-8',newline='') as f:
|
||||
write=csv.writer(f)
|
||||
for i in range(Ver_index):
|
||||
list=[]
|
||||
if i==0:
|
||||
for j in range(Ori_index):
|
||||
list.append(tbody.findAll('tr')[i].findAll('th')[j].text.strip())
|
||||
else:
|
||||
for j in range(Ori_index):
|
||||
list.append(tbody.findAll('tr')[i].findAll('td')[j].text.strip())
|
||||
write.writerow(list)
|
||||
print('shu数据获取完毕')
|
||||
if __name__ == '__main__':
|
||||
getData()
|
@ -0,0 +1,424 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>多折线</title>
|
||||
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div id="230081edc72b4d1bb7f50f04c025a37b" class="chart-container" style="width:1000px; height:500px; "></div>
|
||||
<script>
|
||||
var chart_230081edc72b4d1bb7f50f04c025a37b = echarts.init(
|
||||
document.getElementById('230081edc72b4d1bb7f50f04c025a37b'), 'white', {renderer: 'canvas'});
|
||||
var option_230081edc72b4d1bb7f50f04c025a37b = {
|
||||
"animation": true,
|
||||
"animationThreshold": 2000,
|
||||
"animationDuration": 1000,
|
||||
"animationEasing": "cubicOut",
|
||||
"animationDelay": 0,
|
||||
"animationDurationUpdate": 300,
|
||||
"animationEasingUpdate": "cubicOut",
|
||||
"animationDelayUpdate": 0,
|
||||
"aria": {
|
||||
"enabled": false
|
||||
},
|
||||
"color": [
|
||||
"#5470c6",
|
||||
"#91cc75",
|
||||
"#fac858",
|
||||
"#ee6666",
|
||||
"#73c0de",
|
||||
"#3ba272",
|
||||
"#fc8452",
|
||||
"#9a60b4",
|
||||
"#ea7ccc"
|
||||
],
|
||||
"series": [
|
||||
{
|
||||
"type": "line",
|
||||
"name": "\u73af\u6bd4\u4e0a\u6708",
|
||||
"connectNulls": false,
|
||||
"xAxisIndex": 0,
|
||||
"symbolSize": 4,
|
||||
"showSymbol": true,
|
||||
"smooth": false,
|
||||
"clip": true,
|
||||
"step": false,
|
||||
"data": [
|
||||
[
|
||||
"\u660c\u5e73\u533a",
|
||||
1.41
|
||||
],
|
||||
[
|
||||
"\u671d\u9633\u533a",
|
||||
-2.98
|
||||
],
|
||||
[
|
||||
"\u5927\u5174\u533a",
|
||||
-6.43
|
||||
],
|
||||
[
|
||||
"\u4e1c\u57ce\u533a",
|
||||
1.08
|
||||
],
|
||||
[
|
||||
"\u623f\u5c71\u533a",
|
||||
-2.01
|
||||
],
|
||||
[
|
||||
"\u4e30\u53f0\u533a",
|
||||
0.83
|
||||
],
|
||||
[
|
||||
"\u6d77\u6dc0\u533a",
|
||||
1.47
|
||||
],
|
||||
[
|
||||
"\u6000\u67d4\u533a",
|
||||
-3.15
|
||||
],
|
||||
[
|
||||
"\u95e8\u5934\u6c9f\u533a",
|
||||
-3.41
|
||||
],
|
||||
[
|
||||
"\u5bc6\u4e91\u533a",
|
||||
-2.92
|
||||
],
|
||||
[
|
||||
"\u5e73\u8c37\u533a",
|
||||
1.3
|
||||
],
|
||||
[
|
||||
"\u77f3\u666f\u5c71\u533a",
|
||||
-2.23
|
||||
],
|
||||
[
|
||||
"\u987a\u4e49\u533a",
|
||||
-6.78
|
||||
],
|
||||
[
|
||||
"\u901a\u5dde\u533a",
|
||||
-1.98
|
||||
],
|
||||
[
|
||||
"\u897f\u57ce\u533a",
|
||||
0.13
|
||||
],
|
||||
[
|
||||
"\u5ef6\u5e86\u533a",
|
||||
3.0
|
||||
]
|
||||
],
|
||||
"hoverAnimation": true,
|
||||
"label": {
|
||||
"show": true,
|
||||
"margin": 8
|
||||
},
|
||||
"logBase": 10,
|
||||
"seriesLayoutBy": "column",
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
},
|
||||
"areaStyle": {
|
||||
"opacity": 0
|
||||
},
|
||||
"zlevel": 0,
|
||||
"z": 0
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"name": "\u540c\u6bd4\u4e0a\u5e74",
|
||||
"connectNulls": false,
|
||||
"xAxisIndex": 0,
|
||||
"symbolSize": 4,
|
||||
"showSymbol": true,
|
||||
"smooth": false,
|
||||
"clip": true,
|
||||
"step": false,
|
||||
"data": [
|
||||
[
|
||||
"\u660c\u5e73\u533a",
|
||||
-4.81
|
||||
],
|
||||
[
|
||||
"\u671d\u9633\u533a",
|
||||
-9.58
|
||||
],
|
||||
[
|
||||
"\u5927\u5174\u533a",
|
||||
-6.72
|
||||
],
|
||||
[
|
||||
"\u4e1c\u57ce\u533a",
|
||||
-6.47
|
||||
],
|
||||
[
|
||||
"\u623f\u5c71\u533a",
|
||||
-6.53
|
||||
],
|
||||
[
|
||||
"\u4e30\u53f0\u533a",
|
||||
-5.3
|
||||
],
|
||||
[
|
||||
"\u6d77\u6dc0\u533a",
|
||||
-5.78
|
||||
],
|
||||
[
|
||||
"\u6000\u67d4\u533a",
|
||||
-6.3
|
||||
],
|
||||
[
|
||||
"\u95e8\u5934\u6c9f\u533a",
|
||||
-7.0
|
||||
],
|
||||
[
|
||||
"\u5bc6\u4e91\u533a",
|
||||
-13.3
|
||||
],
|
||||
[
|
||||
"\u5e73\u8c37\u533a",
|
||||
-1.14
|
||||
],
|
||||
[
|
||||
"\u77f3\u666f\u5c71\u533a",
|
||||
-3.57
|
||||
],
|
||||
[
|
||||
"\u987a\u4e49\u533a",
|
||||
-13.6
|
||||
],
|
||||
[
|
||||
"\u901a\u5dde\u533a",
|
||||
-7.68
|
||||
],
|
||||
[
|
||||
"\u897f\u57ce\u533a",
|
||||
-4.71
|
||||
],
|
||||
[
|
||||
"\u5ef6\u5e86\u533a",
|
||||
-5.85
|
||||
]
|
||||
],
|
||||
"hoverAnimation": true,
|
||||
"label": {
|
||||
"show": true,
|
||||
"margin": 8
|
||||
},
|
||||
"logBase": 10,
|
||||
"seriesLayoutBy": "column",
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
},
|
||||
"areaStyle": {
|
||||
"opacity": 0
|
||||
},
|
||||
"zlevel": 0,
|
||||
"z": 0
|
||||
}
|
||||
],
|
||||
"legend": [
|
||||
{
|
||||
"data": [
|
||||
"\u73af\u6bd4\u4e0a\u6708",
|
||||
"\u540c\u6bd4\u4e0a\u5e74"
|
||||
],
|
||||
"selected": {},
|
||||
"show": true,
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"itemWidth": 25,
|
||||
"itemHeight": 14,
|
||||
"backgroundColor": "transparent",
|
||||
"borderColor": "#ccc",
|
||||
"borderRadius": 0,
|
||||
"pageButtonItemGap": 5,
|
||||
"pageButtonPosition": "end",
|
||||
"pageFormatter": "{current}/{total}",
|
||||
"pageIconColor": "#2f4554",
|
||||
"pageIconInactiveColor": "#aaa",
|
||||
"pageIconSize": 15,
|
||||
"animationDurationUpdate": 800,
|
||||
"selector": false,
|
||||
"selectorPosition": "auto",
|
||||
"selectorItemGap": 7,
|
||||
"selectorButtonGap": 10
|
||||
}
|
||||
],
|
||||
"tooltip": {
|
||||
"show": true,
|
||||
"trigger": "item",
|
||||
"triggerOn": "mousemove|click",
|
||||
"axisPointer": {
|
||||
"type": "line"
|
||||
},
|
||||
"showContent": true,
|
||||
"alwaysShowContent": false,
|
||||
"showDelay": 0,
|
||||
"hideDelay": 100,
|
||||
"enterable": false,
|
||||
"confine": false,
|
||||
"appendToBody": false,
|
||||
"transitionDuration": 0.4,
|
||||
"textStyle": {
|
||||
"fontSize": 14
|
||||
},
|
||||
"borderWidth": 0,
|
||||
"padding": 5,
|
||||
"order": "seriesAsc"
|
||||
},
|
||||
"xAxis": [
|
||||
{
|
||||
"show": true,
|
||||
"scale": false,
|
||||
"nameLocation": "end",
|
||||
"nameGap": 15,
|
||||
"gridIndex": 0,
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
}
|
||||
},
|
||||
"data": [
|
||||
"\u660c\u5e73\u533a",
|
||||
"\u671d\u9633\u533a",
|
||||
"\u5927\u5174\u533a",
|
||||
"\u4e1c\u57ce\u533a",
|
||||
"\u623f\u5c71\u533a",
|
||||
"\u4e30\u53f0\u533a",
|
||||
"\u6d77\u6dc0\u533a",
|
||||
"\u6000\u67d4\u533a",
|
||||
"\u95e8\u5934\u6c9f\u533a",
|
||||
"\u5bc6\u4e91\u533a",
|
||||
"\u5e73\u8c37\u533a",
|
||||
"\u77f3\u666f\u5c71\u533a",
|
||||
"\u987a\u4e49\u533a",
|
||||
"\u901a\u5dde\u533a",
|
||||
"\u897f\u57ce\u533a",
|
||||
"\u5ef6\u5e86\u533a"
|
||||
]
|
||||
}
|
||||
],
|
||||
"yAxis": [
|
||||
{
|
||||
"show": true,
|
||||
"scale": false,
|
||||
"nameLocation": "end",
|
||||
"nameGap": 15,
|
||||
"gridIndex": 0,
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
{
|
||||
"show": true,
|
||||
"text": "\u5317\u4eac\u5e02\u533a\u623f\u4ef7\u8d8b\u52bf\u56fe",
|
||||
"target": "blank",
|
||||
"subtarget": "blank",
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"textAlign": "auto",
|
||||
"textVerticalAlign": "auto",
|
||||
"triggerEvent": false
|
||||
}
|
||||
],
|
||||
"toolbox": {
|
||||
"show": true,
|
||||
"orient": "horizontal",
|
||||
"itemSize": 15,
|
||||
"itemGap": 10,
|
||||
"left": "80%",
|
||||
"feature": {
|
||||
"saveAsImage": {
|
||||
"type": "png",
|
||||
"backgroundColor": "auto",
|
||||
"connectedBackgroundColor": "#fff",
|
||||
"show": true,
|
||||
"title": "\u4fdd\u5b58\u4e3a\u56fe\u7247",
|
||||
"pixelRatio": 1
|
||||
},
|
||||
"restore": {
|
||||
"show": true,
|
||||
"title": "\u8fd8\u539f"
|
||||
},
|
||||
"dataView": {
|
||||
"show": true,
|
||||
"title": "\u6570\u636e\u89c6\u56fe",
|
||||
"readOnly": false,
|
||||
"lang": [
|
||||
"\u6570\u636e\u89c6\u56fe",
|
||||
"\u5173\u95ed",
|
||||
"\u5237\u65b0"
|
||||
],
|
||||
"backgroundColor": "#fff",
|
||||
"textareaColor": "#fff",
|
||||
"textareaBorderColor": "#333",
|
||||
"textColor": "#000",
|
||||
"buttonColor": "#c23531",
|
||||
"buttonTextColor": "#fff"
|
||||
},
|
||||
"dataZoom": {
|
||||
"show": true,
|
||||
"title": {
|
||||
"zoom": "\u533a\u57df\u7f29\u653e",
|
||||
"back": "\u533a\u57df\u7f29\u653e\u8fd8\u539f"
|
||||
},
|
||||
"icon": {},
|
||||
"filterMode": "filter"
|
||||
},
|
||||
"magicType": {
|
||||
"show": true,
|
||||
"type": [
|
||||
"line",
|
||||
"bar",
|
||||
"stack",
|
||||
"tiled"
|
||||
],
|
||||
"title": {
|
||||
"line": "\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",
|
||||
"bar": "\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",
|
||||
"stack": "\u5207\u6362\u4e3a\u5806\u53e0",
|
||||
"tiled": "\u5207\u6362\u4e3a\u5e73\u94fa"
|
||||
},
|
||||
"icon": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
chart_230081edc72b4d1bb7f50f04c025a37b.setOption(option_230081edc72b4d1bb7f50f04c025a37b);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,45 @@
|
||||
from tkinter import *
|
||||
import Home
|
||||
|
||||
user_login={'aaa':'123456','bbb':'888888','ccc':'333333'}
|
||||
count=0
|
||||
def login():
|
||||
global count
|
||||
username=entry_username.get()
|
||||
if username not in user_login:
|
||||
lable_message.config(text="账号错误!")
|
||||
else:
|
||||
password=entry_password.get()
|
||||
if(password==user_login[username]):
|
||||
lable_message.config(text="登陆成功!")
|
||||
window.destroy()
|
||||
h=Home.Home()
|
||||
else:
|
||||
lable_message.config(text="你还可以尝试{}次".format(2-count))
|
||||
count+=1
|
||||
if count==3:
|
||||
lable_message.config(text="登陆失败!")
|
||||
btn_login.config(state='disabled')
|
||||
window = Tk()
|
||||
window.title('用户登陆')
|
||||
window.geometry("300x200")
|
||||
|
||||
lable_usename=Label(window,text="账号:")
|
||||
lable_usename.pack()
|
||||
entry_username=Entry(window)
|
||||
entry_username.pack()
|
||||
|
||||
lable_password=Label(window,text="密码")
|
||||
lable_password.pack()
|
||||
entry_password=Entry(window)
|
||||
entry_password.pack()
|
||||
|
||||
#按钮登陆绑定login函数
|
||||
btn_login=Button(window,text="登陆",command=login)
|
||||
btn_login.pack()
|
||||
lable_message=Label(window,text="")
|
||||
lable_message.pack()
|
||||
|
||||
window.mainloop()
|
||||
|
||||
|
@ -0,0 +1,219 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>地图</title>
|
||||
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
|
||||
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/maps/beijing.js"></script>
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div id="c7ffa23106124fae8285c749fb373293" class="chart-container" style="width:900px; height:500px; "></div>
|
||||
<script>
|
||||
var chart_c7ffa23106124fae8285c749fb373293 = echarts.init(
|
||||
document.getElementById('c7ffa23106124fae8285c749fb373293'), 'white', {renderer: 'canvas'});
|
||||
var option_c7ffa23106124fae8285c749fb373293 = {
|
||||
"animation": true,
|
||||
"animationThreshold": 2000,
|
||||
"animationDuration": 1000,
|
||||
"animationEasing": "cubicOut",
|
||||
"animationDelay": 0,
|
||||
"animationDurationUpdate": 300,
|
||||
"animationEasingUpdate": "cubicOut",
|
||||
"animationDelayUpdate": 0,
|
||||
"aria": {
|
||||
"enabled": false
|
||||
},
|
||||
"color": [
|
||||
"#5470c6",
|
||||
"#91cc75",
|
||||
"#fac858",
|
||||
"#ee6666",
|
||||
"#73c0de",
|
||||
"#3ba272",
|
||||
"#fc8452",
|
||||
"#9a60b4",
|
||||
"#ea7ccc"
|
||||
],
|
||||
"series": [
|
||||
{
|
||||
"type": "map",
|
||||
"name": "\u5e73\u5747\u623f\u4ef7",
|
||||
"label": {
|
||||
"show": true,
|
||||
"margin": 8
|
||||
},
|
||||
"map": "\u5317\u4eac",
|
||||
"data": [
|
||||
{
|
||||
"name": "\u660c\u5e73\u533a",
|
||||
"value": 44538
|
||||
},
|
||||
{
|
||||
"name": "\u671d\u9633\u533a",
|
||||
"value": 72344
|
||||
},
|
||||
{
|
||||
"name": "\u5927\u5174\u533a",
|
||||
"value": 44350
|
||||
},
|
||||
{
|
||||
"name": "\u4e1c\u57ce\u533a",
|
||||
"value": 111850
|
||||
},
|
||||
{
|
||||
"name": "\u623f\u5c71\u533a",
|
||||
"value": 28210
|
||||
},
|
||||
{
|
||||
"name": "\u4e30\u53f0\u533a",
|
||||
"value": 61021
|
||||
},
|
||||
{
|
||||
"name": "\u6d77\u6dc0\u533a",
|
||||
"value": 102057
|
||||
},
|
||||
{
|
||||
"name": "\u6000\u67d4\u533a",
|
||||
"value": 28193
|
||||
},
|
||||
{
|
||||
"name": "\u95e8\u5934\u6c9f\u533a",
|
||||
"value": 38216
|
||||
},
|
||||
{
|
||||
"name": "\u5bc6\u4e91\u533a",
|
||||
"value": 21182
|
||||
},
|
||||
{
|
||||
"name": "\u5e73\u8c37\u533a",
|
||||
"value": 22198
|
||||
},
|
||||
{
|
||||
"name": "\u77f3\u666f\u5c71\u533a",
|
||||
"value": 54453
|
||||
},
|
||||
{
|
||||
"name": "\u987a\u4e49\u533a",
|
||||
"value": 36628
|
||||
},
|
||||
{
|
||||
"name": "\u901a\u5dde\u533a",
|
||||
"value": 41657
|
||||
},
|
||||
{
|
||||
"name": "\u897f\u57ce\u533a",
|
||||
"value": 128073
|
||||
},
|
||||
{
|
||||
"name": "\u5ef6\u5e86\u533a",
|
||||
"value": 19673
|
||||
}
|
||||
],
|
||||
"roam": true,
|
||||
"aspectScale": 0.75,
|
||||
"nameProperty": "name",
|
||||
"selectedMode": false,
|
||||
"zoom": 1,
|
||||
"zlevel": 0,
|
||||
"z": 2,
|
||||
"seriesLayoutBy": "column",
|
||||
"datasetIndex": 0,
|
||||
"mapValueCalculation": "sum",
|
||||
"showLegendSymbol": true,
|
||||
"emphasis": {}
|
||||
}
|
||||
],
|
||||
"legend": [
|
||||
{
|
||||
"data": [
|
||||
"\u5e73\u5747\u623f\u4ef7"
|
||||
],
|
||||
"selected": {},
|
||||
"show": true,
|
||||
"left": "left",
|
||||
"orient": "vertical",
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"itemWidth": 25,
|
||||
"itemHeight": 14,
|
||||
"backgroundColor": "transparent",
|
||||
"borderColor": "#ccc",
|
||||
"borderRadius": 0,
|
||||
"pageButtonItemGap": 5,
|
||||
"pageButtonPosition": "end",
|
||||
"pageFormatter": "{current}/{total}",
|
||||
"pageIconColor": "#2f4554",
|
||||
"pageIconInactiveColor": "#aaa",
|
||||
"pageIconSize": 15,
|
||||
"animationDurationUpdate": 800,
|
||||
"selector": false,
|
||||
"selectorPosition": "auto",
|
||||
"selectorItemGap": 7,
|
||||
"selectorButtonGap": 10
|
||||
}
|
||||
],
|
||||
"tooltip": {
|
||||
"show": true,
|
||||
"trigger": "item",
|
||||
"triggerOn": "mousemove|click",
|
||||
"axisPointer": {
|
||||
"type": "line"
|
||||
},
|
||||
"showContent": true,
|
||||
"alwaysShowContent": false,
|
||||
"showDelay": 0,
|
||||
"hideDelay": 100,
|
||||
"enterable": false,
|
||||
"confine": false,
|
||||
"appendToBody": false,
|
||||
"transitionDuration": 0.4,
|
||||
"textStyle": {
|
||||
"fontSize": 14
|
||||
},
|
||||
"borderWidth": 0,
|
||||
"padding": 5,
|
||||
"order": "seriesAsc"
|
||||
},
|
||||
"title": [
|
||||
{
|
||||
"show": true,
|
||||
"text": "\u5317\u4eac\u5e02\u5e02\u533a",
|
||||
"target": "blank",
|
||||
"subtarget": "blank",
|
||||
"left": "center",
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"textAlign": "auto",
|
||||
"textVerticalAlign": "auto",
|
||||
"triggerEvent": false
|
||||
}
|
||||
],
|
||||
"visualMap": {
|
||||
"show": true,
|
||||
"type": "continuous",
|
||||
"min": 19000,
|
||||
"max": 130000,
|
||||
"inRange": {
|
||||
"color": [
|
||||
"#1E9600",
|
||||
"#fff200",
|
||||
"#ff0000"
|
||||
]
|
||||
},
|
||||
"calculable": true,
|
||||
"inverse": false,
|
||||
"splitNumber": 5,
|
||||
"hoverLink": true,
|
||||
"orient": "vertical",
|
||||
"padding": 5,
|
||||
"showLabel": true,
|
||||
"itemWidth": 20,
|
||||
"itemHeight": 140,
|
||||
"borderWidth": 0
|
||||
}
|
||||
};
|
||||
chart_c7ffa23106124fae8285c749fb373293.setOption(option_c7ffa23106124fae8285c749fb373293);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue