I'm looking for a method to dynamically create new individual items on the timeline in vis.js
Looking at the documentation (http://visjs.org/docs/timeline/) I cannot see any method to do this.
I'm looking for a method to dynamically create new individual items on the timeline in vis.js
Looking at the documentation (http://visjs.org/docs/timeline/) I cannot see any method to do this.
DataSet.add
allows you to modify the data set after its creation. The example linked in the question has code like:This creates a
DataSet
. The examples on theDataSet
page have this example using theadd
method: