|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-61231638-1', 'auto');ga('send', 'pageview');</script>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Timeline Examples</title>
|
|
<link rel="icon" HREF="favicon.ico">
|
|
<!-- Bootstrap -->
|
|
<link href="./css/bootstrap.css" rel="stylesheet">
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
<![endif]-->
|
|
|
|
<link href="./css/prettify.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script type="text/javascript" src="./js/prettify/prettify.js"></script>
|
|
<link href="./css/examples.css" rel="stylesheet" type="text/css" />
|
|
|
|
<script src="./dist/vis.js"></script>
|
|
<link href="./dist/vis.css" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
<body>
|
|
<div class="navbar-wrapper">
|
|
<div class="container">
|
|
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand hidden-sm" href="./index.html">vis.js</a>
|
|
</div>
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li class="active"><a href="./index.html#modules">Modules</a></li>
|
|
<li><a href="./index.html#download_install">Download</a></li>
|
|
<li><a href="./showcase/index.html">Showcase</a></li>
|
|
<li><a href="./index.html#contribute">Contribute</a></li>
|
|
<li><a href="./index.html#licenses">License</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contentWrapper">
|
|
<div id="networkContainer"></div>
|
|
<div id="contentContainer">
|
|
<h1>Timeline Examples</h1>
|
|
This page contains examples which show how to use Timeline. For the documentation, please click the button below: <br><br>
|
|
<a class="btn btn-primary" href="./docs/timeline" role="button">View docs »</a>
|
|
|
|
<h3>basic usage</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/updateDataOnEvent.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/basicUsage.png">
|
|
<div class="exampleTitle">basic usage</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>data handling</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/dataHandling/dataSerialization.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/dataHandling/dataSerialization.png">
|
|
<div class="exampleTitle">data serialization</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/dataHandling/loadExternalData.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/dataHandling/loadExternalData.png">
|
|
<div class="exampleTitle">load external data</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>editing</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/customSnappingOfItems.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/editing/customSnappingOfItems.png">
|
|
<div class="exampleTitle">data serialization</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/editingItems.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/editing/editingItems.png">
|
|
<div class="exampleTitle">editing items</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/editingItemsCallbacks.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/editing/editingItemsCallbacks.png">
|
|
<div class="exampleTitle">editing items callbacks</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/individualEditableItems.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/editing/individualEditableItems.png">
|
|
<div class="exampleTitle">individual editable items</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/updateDataOnEvent.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/editing/updateDataOnEvent.png">
|
|
<div class="exampleTitle">update data on event</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/editing/tooltipOnItemChange.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/editing/tooltipOnItemChange.png">
|
|
<div class="exampleTitle">tooltip on item change</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>groups</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href=examples/timeline/groups/groups.html>
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/groups/groups.png">
|
|
<div class="exampleTitle">groups</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/groups/groupsEditable.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/groups/groupsEditable.png">
|
|
<div class="exampleTitle">groups editable</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/groups/groupsOrdering.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/groups/groupsOrdering.png">
|
|
<div class="exampleTitle">groups ordering</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/groups/subgroups.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/groups/subgroups.png">
|
|
<div class="exampleTitle">subgroups</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href=examples/timeline/groups/verticalItemsHide.html>
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/groups/verticalItemsHide.png">
|
|
<div class="exampleTitle">vertical items hide</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>interaction</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/interaction/animateWindow.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/interaction/animateWindow.png">
|
|
<div class="exampleTitle">animate window</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/interaction/clickToUse.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/interaction/clickToUse.png">
|
|
<div class="exampleTitle">click to use</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/interaction/eventListeners.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/interaction/eventListeners.png">
|
|
<div class="exampleTitle">event listeners</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/interaction/limitMoveAndZoom.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/interaction/limitMoveAndZoom.png">
|
|
<div class="exampleTitle">limit move and zoom</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/interaction/navigationMenu.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/interaction/navigationMenu.png">
|
|
<div class="exampleTitle">navigation menu</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/interaction/setSelection.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/interaction/setSelection.png">
|
|
<div class="exampleTitle">set selection</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>items</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/items/backgroundAreas.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/items/backgroundAreas.png">
|
|
<div class="exampleTitle">background areas</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/items/backgroundAreasWithGroups.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/items/backgroundAreasWithGroups.png">
|
|
<div class="exampleTitle">background areas with groups</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/items/htmlContents.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/items/htmlContents.png">
|
|
<div class="exampleTitle">html contents</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/items/itemOrdering.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/items/itemOrdering.png">
|
|
<div class="exampleTitle">item ordering</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/items/pointItems.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/items/pointItems.png">
|
|
<div class="exampleTitle">point items</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/items/rangeOverflowItem.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/items/rangeOverflowItem.png">
|
|
<div class="exampleTitle">range over flow item</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>other</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/requirejs/requirejs_example.html"">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/requirejs/requirejs_example.png">
|
|
<div class="exampleTitle">require js</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/customTimeBars.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/customTimeBars.png">
|
|
<div class="exampleTitle">custom time bars</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/dataAttributes.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/dataAttributes.png">
|
|
<div class="exampleTitle">data attributes</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/dataAttributesAll.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/dataAttributesAll.png">
|
|
<div class="exampleTitle">data attributes all</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/groupsPerformance.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/groupsPerformance.png">
|
|
<div class="exampleTitle">groups performance</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/hidingPeriods.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/hidingPeriods.png">
|
|
<div class="exampleTitle">hiding periods</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/localization.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/localization.png">
|
|
<div class="exampleTitle">localization</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/performance.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/performance.png">
|
|
<div class="exampleTitle">performance</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/rtl.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/rtl.png">
|
|
<div class="exampleTitle">rtl</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/timezone.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/timezone.png">
|
|
<div class="exampleTitle">timezone</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/drag&drop.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/drag&drop.png">
|
|
<div class="exampleTitle">drag & drop</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/functionLabelFormats.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/functionLabelFormats.png">
|
|
<div class="exampleTitle">function label formats</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/horizontalScroll.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/horizontalScroll.png">
|
|
<div class="exampleTitle">horizontal scroll</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/usingReact.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/usingReact.png">
|
|
<div class="exampleTitle">using react</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/other/verticalScroll.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/other/verticalScroll.png">
|
|
<div class="exampleTitle">vertical sroll</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<h3>styling</h3>
|
|
<div class="container-fluid">
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/styling/axisOrientation.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/styling/axisOrientation.png">
|
|
<div class="exampleTitle">exis orientation</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/styling/customCss.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/styling/customCss.png">
|
|
<div class="exampleTitle">custom css</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/styling/gridStyling.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/styling/gridStyling.png">
|
|
<div class="exampleTitle">grid styling</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/styling/itemClassNames.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/styling/itemClassNames.png">
|
|
<div class="exampleTitle">item class names</div>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="col-lg-2 col-md-3 col-sm-6">
|
|
<a href="examples/timeline/styling/itemTemplates.html">
|
|
<img class="timeline_example img-responsive" src="./images/exampleScreenshots/timeline/styling/itemTemplates.png">
|
|
<div class="exampleTitle">item templates</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|