Browse Source

Released version 3.7.1

gh-pages
jos 10 years ago
parent
commit
31eba0ef21
10 changed files with 390 additions and 112 deletions
  1. +10
    -1
      dist/vis.css
  2. +351
    -92
      dist/vis.js
  3. +1
    -1
      dist/vis.map
  4. +1
    -1
      dist/vis.min.css
  5. +15
    -14
      dist/vis.min.js
  6. +8
    -1
      docs/graph2d.html
  7. BIN
      download/vis.zip
  8. +2
    -0
      examples/graph2d/12_customRange.html
  9. +1
    -1
      examples/network/01_basic_usage.html
  10. +1
    -1
      index.html

+ 10
- 1
dist/vis.css View File

@ -13,6 +13,13 @@
box-shadow: 0 0 10px #86d5f8;
}
/* override some bootstrap styles screwing up the timelines css */
.vis [class*="span"] {
min-height: 0;
width: auto;
}
.vis.timeline {
}
@ -221,8 +228,8 @@
.vis.timeline .item.range .content {
position: relative;
display: inline-block;
overflow: hidden;
max-width: 100%;
overflow: hidden;
}
.vis.timeline .item.background .content {
@ -396,6 +403,7 @@
.vis.timeline .dataaxis .yAxis.major.measure{
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
border: 0px;
visibility: hidden;
width: auto;
}
@ -411,6 +419,7 @@
.vis.timeline .dataaxis .yAxis.minor.measure{
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
border: 0px;
visibility: hidden;
width: auto;
}

+ 351
- 92
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.min.css
File diff suppressed because it is too large
View File


+ 15
- 14
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 8
- 1
docs/graph2d.html View File

@ -118,7 +118,7 @@ For backwards compatibility, groups and options can be interchanged.
<p>
Data, options and groups can be set or changed later on using the functions
<code>Graph2d.setData(data)</code>, <code>Graph2d.setOptions(options)</code> and <code>Graph2d.setGroups(groups)</code>.
<code>Graph2d.setItems(data)</code>, <code>Graph2d.setOptions(options)</code> and <code>Graph2d.setGroups(groups)</code>.
</p>
<h2 id="Data_Format">Data Format</h2>
@ -510,6 +510,13 @@ The options colored in green can also be used as options for the groups. All opt
displayed after the decimal point.
If undefined, trailing zeros will be removed.</td>
</tr>
<tr>
<td>dataAxis.alignZeros</td>
<td>Boolean</td>
<td>true</td>
<td>When using multiple axis, the right one is slaved to the left one. If you need to ensure that the zero-lines are on the same
height, you can turn this option on.</td>
</tr>
<tr>
<td>groups.visibility</td>
<td>Object</td>

BIN
download/vis.zip View File


+ 2
- 0
examples/graph2d/12_customRange.html View File

@ -18,6 +18,7 @@
You can define a custom range for the Y axis. Since there are two Y axis, you can define both of them. You can also
only define the min or max values. Since one of the Y axis is slaved to the other one (the right one is slaved to the left one),
you cannot absolutely define the range of the slaved axis because it has to use the same lines. The values you supply are used as guidelines however.
If the zero-lines have to be aligned, you can use the option alignZeros. It is enabled by default.
<pre class="prettyprint lang-js">
var options = {
@ -86,6 +87,7 @@ var options = {
orientation:'top',
start: '2014-06-10',
end: '2014-06-18'
};
var graph2d = new vis.Graph2d(container, items, groups, options);

+ 1
- 1
examples/network/01_basic_usage.html View File

@ -43,7 +43,7 @@
nodes: nodes,
edges: edges
};
var options = {edges:{style:'arrow-center'}};
var options = {};
var network = new vis.Network(container, data, options);
</script>

+ 1
- 1
index.html View File

@ -76,7 +76,7 @@ bower install vis
<h3>download</h3>
<a href="download/vis.zip">Click here to download vis.js</a>
(version <span class="version">3.7.0</span>)
(version <span class="version">3.7.1</span>)
<h2 id="example">Example</h2>

Loading…
Cancel
Save