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.

131 lines
7.9 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <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>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>Timeline Examples</title>
  8. <link rel="icon" HREF="favicon.ico">
  9. <!-- Bootstrap -->
  10. <link href="./css/bootstrap.css" rel="stylesheet">
  11. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  12. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  13. <!--[if lt IE 9]>
  14. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  15. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  16. <![endif]-->
  17. <link href="./css/prettify.css" rel="stylesheet" type="text/css" />
  18. <script type="text/javascript" src="./js/prettify/prettify.js"></script>
  19. <script src="./dist/vis.js"></script>
  20. <link href="./dist/vis.css" rel="stylesheet" type="text/css" />
  21. <link href="./css/examples.css" rel="stylesheet" type="text/css" />
  22. <script src="./js/imagesNetwork.js"></script>
  23. <link href="./css/imagesNetwork.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body onload="loadVis(220);">
  26. <div class="navbar-wrapper">
  27. <div class="container">
  28. <nav class="navbar navbar-inverse navbar-static-top" role="navigation">
  29. <div class="container">
  30. <div class="navbar-header">
  31. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  32. <span class="sr-only">Toggle navigation</span>
  33. <span class="icon-bar"></span>
  34. <span class="icon-bar"></span>
  35. <span class="icon-bar"></span>
  36. </button>
  37. <a class="navbar-brand hidden-sm" href="./index.html">vis.js</a>
  38. </div>
  39. <div id="navbar" class="navbar-collapse collapse">
  40. <ul class="nav navbar-nav">
  41. <li class="active"><a href="./index.html#modules">Modules</a></li>
  42. <li><a href="./blog.html">Blog</a></li>
  43. <li><a href="./index.html#download_install">Download</a></li>
  44. <li><a href="./showcase/index.html">Showcase</a></li>
  45. <li><a href="./index.html#contribute">Contribute</a></li>
  46. <li><a href="./featureRequests.html">Feature requests</a></li>
  47. <li><a href="./index.html#licenses">License</a></li>
  48. </ul>
  49. </div>
  50. </div>
  51. </nav>
  52. </div>
  53. </div>
  54. <div class="contentWrapper">
  55. <div id="networkContainer"></div>
  56. <div id="contentContainer">
  57. <h1>Timeline Examples</h1>
  58. This page contains examples which show how to use Timeline. For the documentation, please click the button below: <br><br>
  59. <a class="btn btn-primary" href="./docs/timeline" role="button">View docs »</a>
  60. <h3>basic usage</h3>
  61. <a class='exampleLink' href="examples/timeline/basicUsage.html">basic usage</a><br />
  62. <h3>interaction</h3>
  63. <a class='exampleLink' href="examples/timeline/interaction/animateWindow.html">animate window</a><br />
  64. <a class='exampleLink' href="examples/timeline/interaction/clickToUse.html">click to use</a><br />
  65. <a class='exampleLink' href="examples/timeline/interaction/eventListeners.html">event listeners</a><br />
  66. <a class='exampleLink' href="examples/timeline/interaction/limitMoveAndZoom.html">limit move and zoom of the window</a><br />
  67. <a class='exampleLink' href="examples/timeline/interaction/navigationMenu.html">navigation menu</a><br />
  68. <a class='exampleLink' href="examples/timeline/interaction/setSelection.html">set selection</a><br />
  69. <h3>editing</h3>
  70. <a class='exampleLink' href="examples/timeline/editing/customSnappingOfItems.html">custom snapping of items</a><br />
  71. <a class='exampleLink' href="examples/timeline/editing/editingItems.html">editing items</a><br />
  72. <a class='exampleLink' href="examples/timeline/editing/editingItemsCallbacks.html">editing items, manipulate using callbacks</a><br />
  73. <a class='exampleLink' href="examples/timeline/editing/individualEditableItems.html">individually editable items</a><br />
  74. <a class='exampleLink' href="examples/timeline/editing/updateDataOnEvent.html">update data on event</a><br />
  75. <h3>items</h3>
  76. <a class='exampleLink' href="examples/timeline/items/htmlContents.html">HTML contents</a><br />
  77. <a class='exampleLink' href="examples/timeline/items/pointItems.html">point items</a><br />
  78. <a class='exampleLink' href="examples/timeline/items/backgroundAreas.html">background areas</a><br />
  79. <a class='exampleLink' href="examples/timeline/items/backgroundAreasWithGroups.html">background areas with groups</a><br />
  80. <a class='exampleLink' href="examples/timeline/items/itemOrdering.html">item ordering</a><br />
  81. <a class='exampleLink' href="examples/timeline/items/rangeOverflowItem.html">range overflow item</a><br />
  82. <h3>groups</h3>
  83. <a class='exampleLink' href="examples/timeline/groups/groups.html">groups</a><br />
  84. <a class='exampleLink' href="examples/timeline/groups/groupsOrdering.html">ordering of groups</a><br />
  85. <a class='exampleLink' href="examples/timeline/groups/subgroups.html">subgroups</a><br />
  86. <h3>styling</h3>
  87. <a class='exampleLink' href="examples/timeline/styling/itemClassNames.html">item class names</a><br />
  88. <a class='exampleLink' href="examples/timeline/styling/itemTemplates.html">item templates</a><br />
  89. <a class='exampleLink' href="examples/timeline/styling/axisOrientation.html">axis orientation</a><br />
  90. <a class='exampleLink' href="examples/timeline/styling/customCss.html">custom CSS</a><br />
  91. <a class='exampleLink' href="examples/timeline/styling/gridStyling.html">grid styling</a><br />
  92. <h3>data handling</h3>
  93. <a class='exampleLink' href="examples/timeline/dataHandling/dataSerialization.html">data serialization</a><br />
  94. <a class='exampleLink' href="examples/timeline/dataHandling/loadExternalData.html">load external data</a><br />
  95. <h3>other</h3>
  96. <a class='exampleLink' href="examples/timeline/other/customTimeBars.html">custom time bars</a><br />
  97. <a class='exampleLink' href="examples/timeline/other/dataAttributes.html">data attributes</a><br />
  98. <a class='exampleLink' href="examples/timeline/other/dataAttributesAll.html">all data attributes</a><br />
  99. <a class='exampleLink' href="examples/timeline/other/hidingPeriods.html">hiding periods</a><br />
  100. <a class='exampleLink' href="examples/timeline/other/localization.html">localization</a><br />
  101. <a class='exampleLink' href="examples/timeline/other/performance.html">performance</a><br />
  102. <a class='exampleLink' href="examples/timeline/other/groupsPerformance.html">perforance of groups</a><br />
  103. <a class='exampleLink' href="examples/timeline/other/requirejs/requirejs_example.html">require.js example</a><br />
  104. </div>
  105. </div>
  106. <br />
  107. <br />
  108. <br />
  109. <br />
  110. </div>
  111. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  112. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  113. <!-- Include all compiled plugins (below), or include individual files as needed -->
  114. <script src="js/bootstrap.min.js"></script>
  115. </body>
  116. </html>