Comments (6)
My suspicions were right (from the first issue): it seems you are trying to use this repo to develop your app (is it right?).
If you need to embed this lib to your project, just install it with npm. It has an API interface (all you need to build custom charts) and you can update your data from js. But you must do it reactively:
https://github.com/C451/trading-vue-js/blob/master/src/examples/Reactive.vue
If you are talking about the development of the lib itself, yeah, it needs some kind of playground editor that will simplify things. But for now it's TBA.
from trading-vue-js.
Ok, thanks, will look into that.
from trading-vue-js.
just the next candle or adding another 20 candles onto the end, same thing just appending to the graph), avoiding the need for a recompile each time I want to add a data point.
Big subject, imo. Exposing append & prepend methods would be super useful !
https://github.com/C451/trading-vue-js/blob/8df612c90dac0bde521e08a17afd03f87c13c819/src/components/Chart.vue#L223
Partial rendering of the candles & indicators etc...
from trading-vue-js.
just the next candle or adding another 20 candles onto the end, same thing just appending to the graph), avoiding the need for a recompile each time I want to add a data point.
Big subject, imo. Exposing append & prepend methods would be super useful !
trading-vue-js/src/components/Chart.vueLine 223 in 8df612c
data: {
Partial rendering of the candles & indicators etc...
Yeah, I had this idea. The problem here is custom data structures, so user still needs to update all his data fields.
Vue.$set()
is designed specifically for that. But I will think about set/append helpers.
About partial rendering - the bottleneck is not rendering itself, but slicing (when data is huge)
from trading-vue-js.
If you need to embed this lib to your project, just install it with npm. It has an API interface (all you need to build custom charts) and you can update your data from js. But you must do it reactively:
https://github.com/C451/trading-vue-js/blob/master/src/examples/Reactive.vue
This link is now 404. Do you have a link to the most recent way of doing this?
from trading-vue-js.
@vab2048 Hi, you can find it in earlier versions of the repo, but this example is more relevant: https://github.com/C451/trading-vue-js/blob/master/test/tests/DataHelper.vue
from trading-vue-js.
Related Issues (20)
- z-index not working HOT 1
- Order lines & order arrows
- Looks like linked tvjs.io domain is lost
- refreshing new data ,wanna get a new chart i failed
- Vue 3 support? HOT 3
- Convert it to JS Library (React) HOT 2
- Use of the library HOT 1
- library tool
- Help to implement "snap to candle ohlc" feature HOT 2
- Plot bars on yAxis HOT 3
- Proposal to build a library for svelte (trading-svelte) HOT 1
- Chart won't show candles with 1m interval data HOT 2
- Help! HOT 1
- Related maintenance
- Please enable github's security features
- tvjs-xp and realtime broker data error
- Issue with update_tick in dc_core.js
- How to make new tool in my project.
- does it support live data
- Transaction records on the bar.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trading-vue-js.