【发布时间】:2019-08-28 21:46:30
【问题描述】:
我正在使用带有选项verticalScroll: true 的 Vis.js 时间轴库。我正在关注这个例子:https://visjs.github.io/vis-timeline/examples/timeline/other/verticalScroll.html
...
var options = {
stack: true,
verticalScroll: true,
zoomKey: 'ctrlKey',
maxHeight: 200,
start: new Date(),
end: new Date(1000*60*60*24 + (new Date()).valueOf()),
};
// create a Timeline
var container1 = document.getElementById('mytimeline1');
timeline1 = new vis.Timeline(container1, items, groups, options);
我需要将滚动条放在右侧。有可能吗?
是否有任何配置选项可以做到这一点?
【问题讨论】:
标签: javascript timeline vis.js