summaryrefslogtreecommitdiff
path: root/www/lib/vis/examples/timeline/styling/gridStyling.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/lib/vis/examples/timeline/styling/gridStyling.html')
-rw-r--r--www/lib/vis/examples/timeline/styling/gridStyling.html54
1 files changed, 0 insertions, 54 deletions
diff --git a/www/lib/vis/examples/timeline/styling/gridStyling.html b/www/lib/vis/examples/timeline/styling/gridStyling.html
deleted file mode 100644
index 9fec28b2..00000000
--- a/www/lib/vis/examples/timeline/styling/gridStyling.html
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
- <title>Timeline | Grid styling</title>
-
- <script src="../../../dist/vis.js"></script>
- <link href="../../../dist/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" />
-
- <style type="text/css">
- body, html {
- font-family: sans-serif;
- }
-
- /* alternating column backgrounds */
- .vis-time-axis .vis-grid.vis-odd {
- background: #f5f5f5;
- }
-
- /* gray background in weekends, white text color */
- .vis-time-axis .vis-grid.vis-saturday,
- .vis-time-axis .vis-grid.vis-sunday {
- background: gray;
- }
- .vis-time-axis .vis-text.vis-saturday,
- .vis-time-axis .vis-text.vis-sunday {
- color: white;
- }
- </style>
- <script src="../../googleAnalytics.js"></script>
-</head>
-<body>
-<div id="visualization"></div>
-
-<script type="text/javascript">
- // DOM element where the Timeline will be attached
- var container = document.getElementById('visualization');
-
- // Create a DataSet (allows two way data-binding)
- var items = new vis.DataSet([
- {id: 1, content: 'custom', start: '2015-01-01'},
- {id: 2, content: 'styling', start: '2016-01-01'},
- {id: 3, content: 'of', start: '2017-01-01'},
- {id: 4, content: 'background', start: '2018-01-01'},
- {id: 5, content: 'grid', start: '2019-01-01'}
- ]);
-
- // Configuration for the Timeline
- var options = {};
-
- // Create a Timeline
- var timeline = new vis.Timeline(container, items, options);
-</script>
-</body>
-</html> \ No newline at end of file