init
This commit is contained in:
@@ -228,10 +228,10 @@ class AnalyzerSqlite:
|
||||
|
||||
fig = subplots.make_subplots(
|
||||
rows=6, cols=1,
|
||||
subplot_titles=("MACD", "스토캐스틱", "RSI", "이격도", "거래량", '캔들'),
|
||||
subplot_titles=("거래량", '캔들', "MACD", "스토캐스틱", "RSI", "이격도"),
|
||||
# specs=[[{}], [{}], [{}], [{}], [{}], [{}]],
|
||||
shared_xaxes=True, horizontal_spacing=0.03, vertical_spacing=0.01,
|
||||
row_heights=[200, 200, 200, 200, 200, 800]
|
||||
row_heights=[1200, 200, 200, 200, 200, 200]
|
||||
)
|
||||
for trace in macd_data:
|
||||
fig.append_trace(trace, 1, 1)
|
||||
@@ -246,7 +246,7 @@ class AnalyzerSqlite:
|
||||
for trace in candle_data:
|
||||
fig.append_trace(trace, 6, 1)
|
||||
|
||||
fig.update_layout(height=1900, xaxis_rangeslider_visible=False)
|
||||
fig.update_layout(height=2200, xaxis_rangeslider_visible=False)
|
||||
|
||||
return fig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user