Comments (5)
Hi @alexcode!
I've just edited the fiddle: https://jsfiddle.net/2gp9dokz/2/
It seems that the bug occurs when we differ the fetch of items. If you un-comment the settimeout
on lines 15 and 17, the items are not rendered. In my case, the delay is due to a real distant API fetching, using Axios.
Thanks for your time!
from vue2vis.
same code is working perfectly without vue2vis
https://esadhar.net/gogs/bachir/offline-timeline/src/master/src/App.vue
from vue2vis.
Hi!
I'm facing the same problem here, after having updated to version 0.0.18
. Here is a screenshot of the Vue devTools on the component, showing that items are in component' state, but nothing is displayed on timeline (no element in resulting DOM):
But I can't figure out why this is happening... Any thought?
Thanks!
from vue2vis.
I'd be happy to help out but I'd need to repro the issue. Here is a working fiddle, just repro your problem from that.
from vue2vis.
I'm having the same issue as @polosson, but until there is a fix I was able to work around it by delaying the initialization of the Timeline until my data is fetched via v-if
.
from vue2vis.
Related Issues (20)
- Dependency not found HOT 2
- Marker Support HOT 1
- Wind feature is missing from physics option HOT 2
- Custom template for network
- Graph2d zoom and slide not working very well HOT 2
- 修改options中的layout报错
- Vue3 - Cannot read property '_c' of undefined HOT 5
- Timeline: cluster options is not working HOT 2
- [Timeline] Limitations of using Vue component as items or groups HOT 2
- [Network] Vis Event Names
- [Timeline] Nested groups with 3 tree levels do not collapse correctly HOT 3
- dragEnd,dragStart event is invalid HOT 1
- 怎么才能像官方demo那样初始时不抖动?physics 实际时开启的
- Using without groups parameter in Latest Version HOT 1
- How to install Vue2vis on a macbook pro.
- How to load french locale ?
- Unmet dependencies with `@vue2vis/network` HOT 2
- The timeline chart don't show the tooltip
- Is it possible to group by lvl in a radial way?
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 vue2vis.