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.

82 lines
3.2 KiB

  1. <?js
  2. var self = this;
  3. ?>
  4. <!DOCTYPE html>
  5. <html lang="en"><head>
  6. <meta charset="utf-8">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <meta name="description" content="">
  10. <meta name="author" content="">
  11. <link rel="icon" HREF="favicon.ico">
  12. <title>Data - vis.js - A dynamic, browser based visualization library.</title>
  13. <!-- Bootstrap core CSS -->
  14. <link href="../css/bootstrap.css" rel="stylesheet">
  15. <!-- Tipue vendor css -->
  16. <link href="../css/tipuesearch.css" rel="stylesheet">
  17. <link href="../css/style.css" rel="stylesheet">
  18. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  19. <!--[if lt IE 9]>
  20. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  21. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  22. <![endif]-->
  23. <link href="../css/prettify.css" type="text/css" rel="stylesheet"/>
  24. <script type="text/javascript" src="../js/googleAnalytics.js"></script>
  25. <script type="text/javascript" src="../js/prettify/prettify.js"></script>
  26. <script src="../js/smooth-scroll.min.js"></script>
  27. <script language="JavaScript">
  28. smoothScroll.init();
  29. </script>
  30. <script type="text/javascript" src="../js/toggleTable.js"></script>
  31. </head>
  32. <body onload="prettyPrint();">
  33. <?js= self.partial('tmpl/navbar.tmpl') ?>
  34. <div class="container full">
  35. <h1>Data</h1>
  36. <p>
  37. One of the starting points of the visualizations of vis.js is that they can deal with dynamic data, and allow manipulation of the data. To enable this, vis.js includes a flexible key/value based <code>DataSet</code> and <code>DataView</code> to handle unstructured JSON data.
  38. </p>
  39. <p>
  40. By providing a <code>DataSet</code> with data to the visualizations, they can subscribe on changes in the <code>DataSet</code> and automatically reflect the changes in their view. Changes in the data can be caused by a server pushing updates to a client, or by other interactive components in the web application. Vice versa, data can be manipulated in one of the visualizations. For example a REST-client can listen for changes and automatically write changes to the server. Or changes can be propagated to other parts of the web application.
  41. </p>
  42. <h2>DataSet</h2>
  43. <p>
  44. A <code>DataSet</code> can be used to store JSON objects by id. Objects can be added, updated and removed from the DatSet, and one can subscribe to changes in the <code>DataSet</code>.
  45. The data in the <code>DataSet</code> can be filtered and ordered, and fields (like
  46. dates) can be converted to a specific type. Data can be normalized when
  47. appending it to the <code>DataSet</code> as well.
  48. </p>
  49. <p>
  50. <a href="dataset.html">Go to the documentation of DataSet</a>
  51. </p>
  52. <h2>DataView</h2>
  53. <p>
  54. A <code>DataView</code> offers a filtered and/or formatted view on a DataSet.
  55. One can subscribe to changes in a <code>DataView</code>, and easily get filtered or
  56. formatted data without having to specify filters and field types all
  57. the time.
  58. </p>
  59. <p>
  60. <a href="dataview.html">Go to the documentation of DataView</a>
  61. </p>
  62. </div>
  63. <?js= self.partial('tmpl/html-foot.tmpl') ?>