Hi team,
I created the graph below but I want to add arrowheads at the end of the lines in the same direction as the lines.
Can you please help me with that?
fig.add_trace(go.Scatter(x=df1[‘Week_x’], y=df1[‘Week_y’], mode=‘lines’, marker=dict(symbol=“line-ne”),line=dict(color=‘red’,width=2), name=‘1 week’))
fig.add_trace(go.Scatter(x=df1[‘Month_x’], y=df1[‘Month_y’], mode=‘lines’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘royalblue’,width=2), name=‘1 month’))
fig.add_trace(go.Scatter(x=df1[‘3Month_x’], y=df1[‘3Month_y’], mode=‘lines’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘green’,width=2), name=‘3 months’))
fig.add_trace(go.Scatter(x=df1[‘6Month_x’], y=df1[‘6Month_y’], mode=‘lines’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘purple’,width=2), name=‘6 months’))
fig.add_trace(go.Scatter(x=df1[‘std_week_x’], y=df1[‘std_week_y’], mode=‘markers’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘red’,width=2), name=‘1 week std’))
fig.add_trace(go.Scatter(x=df1[‘std_month_x’], y=df1[‘std_month_y’], mode=‘markers’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘royalblue’,width=2), name=‘1 month std’))
fig.add_trace(go.Scatter(x=df1[‘std_3month_x’], y=df1[‘std_3month_y’], mode=‘markers’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘green’,width=2), name=‘3 months std’))
fig.add_trace(go.Scatter(x=df1[‘std_6month_x’], y=df1[‘std_6month_y’], mode=‘markers’, marker=dict(symbol=“diamond-dot”),line=dict(color=‘purple’,width=2), name=‘6 months std’))
Thank you,
Vgelis