How to draw line graph on timeline using visjs?

前端 未结 2 1157
别那么骄傲
别那么骄傲 2021-02-14 03:31

Is it possible to draw line graph on timeline, using visjs?

I want to get something like here http://almende.github.io/chap-links-library/js/timeline/examples/example19_

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-14 03:57

    Sadly what you have described is not possible. The closest solution I have found is to have a both a graph2d and timeline on the same page and listen to the drag events on each and update the viewport on the other such that they are both showing the same timespan and zoom level.

提交回复
热议问题