Skip to content

Commit

Permalink
优化竖线叠加样式
Browse files Browse the repository at this point in the history
  • Loading branch information
yiliuyan161 committed Aug 29, 2024
1 parent a9ba83c commit db02b00
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions chartspy/express/echarts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1588,9 +1588,17 @@ def mark_vertical_line_echarts(data_frame: pd.DataFrame, x: str, label: str, tit
'distance': label_distance,
'fontSize': label_font_size,
'color': label_font_color,
'show': True,
'formatter': "{b}"
'borderWidth':1,
'borderColor':'#000',
'backgroundColor':"white",
'padding':5,
'width':150,
'overflow':'breakAll',
'show': False,
'formatter': "{b}",
'rotate': 0 # 设置为0度以横向显示
},
'emphasis':{'label':{'show':True}},
'symbol': [None, None],
'data': data
}
Expand Down

0 comments on commit db02b00

Please sign in to comment.