Questions tagged [vis-timeline]
16 questions
2
votes
1 answer
Can the remove button gap in vis-timelne be suppressed?
In vis-timeline, if stacking is not enabled (default), there seems to be an enforced gap between two items on the same line, such that two items can never touch. It appears to me, that this gap is enforced to have always enough space for the remove…

Lord Bo
- 3,152
- 3
- 15
- 22
1
vote
1 answer
How to Make the vis-timeline pan-x smooth and eased?
i'm using the vis-timeline library. In the documentations there is no property for easing the touch pan-x when navigating the timeline, resulting in a stiff and rigid navigation.
I tried this:
timeline.on('rangechange', function(properties) {
var…

sintj
- 804
- 2
- 11
- 23
1
vote
1 answer
How to include custom data into vis.js timeline item
I have been using vis.js timeline to keep items in a time order.
I use the following to add timeline items :
timeline_items.add({
id : entity_id + uuidv4(),
group : "timeline_video_group_id",
start :…

london_utku
- 1,070
- 2
- 16
- 36
1
vote
1 answer
vis graph2d library cut the "y-axis-right" range
in vis graph2d,
when I config two axises that way:
dataAxis: {
left: { range: { min: 0, max: 100 } },
right: { range: { min:0, max:280 } },
}
vis library cut me the right range, and set the range of right axis to 200.
So every…

Yosef Buskila
- 33
- 4
0
votes
0 answers
How do I set up a stack by type, such as Range or Box?
I am trying to create a graph using vis-timeline.
I would like to use subgroup or something similar to set up stacking for Range and Box of the same type and non-stacking for another type.
For example, assume the following
enter image description…

yakitamago
- 1
- 1
0
votes
0 answers
react-vis-timeline, import not found
I am using react-vis-timeline in my project, and I am getting an error:
ERROR in ./node_modules/react-vis-timeline/node_modules/vis-timeline/esnext/esm/vis-timeline-graph2d.js 57:9-25
export 'isDataViewLike' (imported as 'isDataViewLike$1') was…

HannaSwDn
- 31
- 1
- 2
0
votes
0 answers
VisJs Timeline - Weird item movement when it crosses hidden days
I use the visjs timeline library to have a view of the work weeks. I used the hiddenDates option which allows me to hide Saturday & Sunday , but when I move an item through Saturday and Sunday to go from Friday to Monday, the item has a strange…

Leg
- 1
- 1
0
votes
2 answers
Plotting historical periods in a timeline using R and vistime-package, BC not possible
for a research-project i want to plot a historical timeline with ruling-periods of ancient dynasties; seperated into male and female rulers.
I'm using R and the vistime-package (as suggested here). Generally it works, but the problem is that i can't…

lukeflo
- 125
- 5
0
votes
1 answer
VisJs Timeline: How to show updated start/endtime in the timeline?
I have a timeline where I have nodes one after another like A-B-C-D-E. If a user moves for example the B node to the right, all the other nodes have to move accordingly, to prevent overlapping and have the right order. I do this with the onMoving :…

Kulu
- 111
- 10
0
votes
1 answer
how to show milliseconds in points in vis timeline in js
Is there anyway that we can show milliseconds of vis timeline in points for ex: 0.2 instead to 200 and 0.00 istead of 000

haseeb ahmad
- 43
- 1
- 5
0
votes
1 answer
Vis Timeline - I don't want to change item.start and move. But i need to change item.end?
I have one item. And item is fixed for item.start, and item shall not be moved. I need to change just item.end.
I was trying something. For example if item.class name is record-scheduled, item.start should be in the future. This code worked. But I…

Mert
- 39
- 4
0
votes
1 answer
Highlighting Group on Item Selection in Vis-Timeline
Is it possible to highlight the group on selection of timeline item of which it is a part of?
Example:
From attached example, if I am selecting item (item 17), Group 'Alston' should somehow gets highlighted (or somehow I change its CSS, so that a…

Vivek Pandita
- 69
- 9
0
votes
1 answer
How to get the change / delta for start and end values in onMove or onMoving function with vis.js timeline
I have been using onMoving event to trace the changing values of start and end.
How can I find the delta between previous and current values of start and end ?
onMoving: function(item, callback) {
if (item.start < options.min) item.start =…

london_utku
- 1,070
- 2
- 16
- 36
0
votes
1 answer
Renaming tooltip "Delete selected" in Vis-Timeline
I am trying to rename the Vis-Timeline tooltip, that appears when the user hovers over the white "delete" icon, as shown in the screenshot below: "Delete selected".
I tried renaming it with plain JS, but the div only appears when the item is…

RedHawkDK
- 119
- 1
- 4
- 9
0
votes
1 answer
How to disable the feature to create new item via ctrl+click in vis-timeline?
I am using vis-timeline 7.4.7.
There is a feature, the website says:
When the Timeline is configured to be editable (both options selectable and editable are true), the user can:
...
Create a new range item by dragging on an empty space with the…

György Szy
- 1
- 1