How to push new data into the graph on the client side?
jokaorgua opened this issue · 2 comments
jokaorgua commented
Hello.
Could anyone help me to understand how to push ohlcv data into the empty chart right from browser?
There is no way from me to get data from vue server, so I want somehow to create a json in browser to push data for processing into the chart
Thank you
P.S. I want to compile tradingvue lib into pure js and use it in browser when page loads
phuthuycoding commented
@jokaorgua You can using datacube update real time data. View code example here https://github.com/tvjsx/trading-vue-js/blob/master/test/tests/DataHelper.vue
jokaorgua commented
Thanks for the tip. Im already using tue DataCube in server vue.
I’m more interested in solution for already compiled js code. Something like chart.dc.update but from js on the page