vis.js is a dynamic, browser-based visualization library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
619 B

<!DOCTYPE HTML>
<html>
<head>
<title>Timeline | <%- name %></title>
<script src="/dist/vis.js"></script>
<link href="/dist/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#timeline {
width: 1024px;
}
</style>
</head>
<body>
<div id="timeline" class="gemini-test-timeline"></div>
<script type="text/javascript">
var container = document.getElementById('timeline');
var items = new vis.DataSet(<%- JSON.stringify(data) %>);
var options = <%- JSON.stringify(options) %>;
var timeline = new vis.Timeline(container, items, options);
</script>
</body>
</html>