tvjsx / trading-vue-js

💹 Hackable charting lib for traders. You can draw literally ANYTHING on top of candlestick charts. [Not Maintained]
https://tvjsx.github.io/trading-vue-demo/
MIT License
2.07k stars 629 forks source link

[DataCube API Book] Adding to chart #216

Closed elsandyid closed 3 years ago

elsandyid commented 3 years ago

Hi, Please help, I've started a new project with tvjs-xp and I've add my own datacube from server successfully. But this is a rather confusing me. I want to add a few of new array data to chart.data. But I cant find a function from datacube on datacube.js, neither in DataCube API Book.

My goal is adding a responsively new data in times which can moving based on that new data change (Like Binomo). But first, I have to find how to add or push a new data to chart.data array.

Thanks for advice.

elsandyid commented 3 years ago

Sorry, my fault. Obviously I can user dc.merge to add. Before, it cant affect my chart because the new data have wrong values. So Im gonna close this issue..

Thanks before