Skip to content

chart.plot_vline() #11

@vinaychuri

Description

@vinaychuri

Found this by accident hence keeping it here for future users

In case user wants to add a vertical line across all the panels containing OHLC+RSI+MACD etc use the following:

chart = Chart(title='ticker', max_bars=max_bars)
chart.plot(plot_df, indicators)
chart.plot_vline("2024-07-25") # this will plot the vertical line across all the panels on the given date
chart.show()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions