Skip to content

Commit fd53dd1

Browse files
authored
Update TSS-data.wikitext (#146)
1 parent fbcca69 commit fd53dd1

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

TSS-data/TSS-data.wikitext

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
神舟十九号,sz,20241030,20250430
1818
天舟八号,tz,20241115,20250709
1919
神舟二十号,sz,20250424,future
20+
天舟九号,tz,20250715,future

main.py

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -104,58 +104,38 @@ def build_tiangong_chart():
104104
}},
105105
"tooltip": {{
106106
"trigger": "axis",
107-
"axisPointer": {{
108-
"type": "shadow"
109-
}}
110-
}},
111-
"grid": {{
112-
"left": "3%",
113-
"right": "4%",
114-
"bottom": "3%",
115-
"containLabel": true
116-
}},
117-
"xAxis": {{
118-
"type": "value"
107+
"axisPointer": {{"type": "shadow"}}
119108
}},
109+
"grid": {{"left": "3%", "right": "4%", "bottom": "3%", "containLabel": true}},
110+
"xAxis": {{"type": "value"}},
120111
"yAxis": {{
121112
"type": "category",
122-
"splitLine": {{
123-
"show": false
124-
}},
113+
"splitLine": {{"show": false}},
125114
"data": {str(data_name).replace("'",'"')}
126115
}},
127116
"series": [
128117
{{
129118
"name": "发射时间",
130119
"type": "bar",
131120
"stack": "Total",
132-
"itemStyle": {{
133-
"borderColor": "transparent",
134-
"color": "transparent"
135-
}},
121+
"itemStyle": {{"borderColor": "transparent", "color": "transparent"}},
136122
"emphasis": {{
137-
"itemStyle": {{
138-
"borderColor": "transparent",
139-
"color": "transparent"
140-
}}
123+
"itemStyle": {{"borderColor": "transparent", "color": "transparent"}}
141124
}},
142125
"data": {start_date}
143126
}},
144127
{{
145128
"name": "已进行任务天数",
146129
"type": "bar",
147130
"stack": "Total",
148-
"label": {{
149-
"show": true,
150-
"position": "inside"
151-
}},
131+
"label": {{"show": true, "position": "inside"}},
152132
"data": [
153133
{delta_days_with_data_color}
154134
]
155135
}}
156136
]
157137
}}
158-
|style=min-height:380px}}}}"""
138+
|style=min-height:580px}}}}"""
159139

160140

161141
def fetch_satellite_data():

0 commit comments

Comments
 (0)