Skip to content

Is it possible to add a Volume to the chart? #633

Answered by timocov
timocov asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it is possible.

lightweight-charts knows nothing about what exactly you display in the chart, thus you can't show volume via adding volume field to the series' data. But you can create Histogram series and put volume's data to it.

See example https://jsfiddle.net/TradingView/cnbamtuh/.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@haydenpang
Comment options

@timocov
Comment options

@julio899
Comment options

@seohuisang
Comment options

Answer selected by timocov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants