Browse Source

Some minor fixes in two examples

css_transitions
jos 10 years ago
parent
commit
5bc5d51f08
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      examples/timeline/11_points.html
  2. +1
    -1
      examples/timeline/12_custom_styling.html

+ 2
- 1
examples/timeline/11_points.html View File

@ -48,7 +48,8 @@
var options = {
// Set global item type. Type can also be specified for items individually
// Available types: 'box' (default), 'point', 'range', 'rangeoverflow'
type: 'point'
type: 'point',
showMajorLabels: false
};
var timeline = new vis.Timeline(container, items, options);

+ 1
- 1
examples/timeline/12_custom_styling.html View File

@ -66,7 +66,7 @@
<script type="text/javascript">
var container = document.getElementById('visualization');
var items = [
{start: new Date(2010,7,23), content: '<div>Conversation</div><img src="img/community-users-icon.png" style="width:32px; height:32px;">', type: 'point'},
{start: new Date(2010,7,23), content: '<div>Conversation</div><img src="img/community-users-icon.png" style="width:32px; height:32px;">'},
{start: new Date(2010,7,23,23,0,0), content: '<div>Mail from boss</div><img src="img/mail-icon.png" style="width:32px; height:32px;">'},
{start: new Date(2010,7,24,16,0,0), content: 'Report'},
{start: new Date(2010,7,26), end: new Date(2010,8,2), content: 'Traject A'},

Loading…
Cancel
Save