Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to push new data into the graph on the client side? #251

Open
jokaorgua opened this issue Sep 17, 2021 · 2 comments
Open

How to push new data into the graph on the client side? #251

jokaorgua opened this issue Sep 17, 2021 · 2 comments

Comments

@jokaorgua
Copy link

jokaorgua commented Sep 17, 2021

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
Copy link

@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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants