Timeline changes

This commit is contained in:
Ruben van de Ven 2019-05-16 16:16:44 +02:00
parent f3188bb862
commit 90e6fd1ed8
2 changed files with 15 additions and 1 deletions

View file

@ -27,6 +27,14 @@ class Timeline{
this.dataGroups = new vis.DataSet(groups);
let options = {
maxHeight: '100%',
margin : {
item: {
horizontal: 0,
vertical: 5
}
},
zoomMax: 3600000 // 1 h
// 'rollingMode': {'follow': true, 'offset': .8 }
};
// console.log('groups', this.dataGroups, groups, options);

View file

@ -45,6 +45,10 @@
border-color:#666 !important;
font-size: 4.5pt;
}
.vis-item-content{
height: 5px !important;
overflow:hidden;
}
.vis-dot.INFO{
}
@ -78,7 +82,9 @@ font-size: 4.5pt;
z-index: 99999;
padding: 5px;
}
.vis-tooltip{
font-size: 20pt;
}
.vis-group{
transition: background-color 1s;
}