tysonwu / dash-tradingview

Tradingview Lightweight Charts wrapper for Plotly Dash apps
MIT License
130 stars 22 forks source link

Does dash-tradinview support volume bars? #1

Closed pedropivotto closed 1 year ago

tysonwu commented 1 year ago

Hi there, I have updated the supported chart types. Bars (aka. histograms, as defined from Tradingview's original lightweight chart) is now supported. You may find the following snippet modified from usage.py useful:

data = [{
        'seriesData': series_data,
        'seriesType': 'histogram',
}]
dash_tvlwc.Tvlwc(
    id='tv-chart',
    data=data
)
pedropivotto commented 1 year ago

Thanks TysonWu! I'll take a look at the updated version.