Browse Source

Merge remote-tracking branch 'origin/develop' into develop

v3_develop
jos 10 years ago
parent
commit
ea9733b88c
4 changed files with 25826 additions and 25822 deletions
  1. +1
    -0
      HISTORY.md
  2. +25823
    -25821
      dist/vis.js
  3. +1
    -0
      lib/timeline/component/LineGraph.js
  4. +1
    -1
      lib/timeline/component/graph2d_types/bar.js

+ 1
- 0
HISTORY.md View File

@ -19,6 +19,7 @@ http://visjs.org
- Added `alignZeros` option to dataAxis with default value true.
- Fixed bug with points drawn on bargraphs
- Fixed docs
- Fixed height increase on scolling if only graphHeight is defined.
### Network

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


+ 1
- 0
lib/timeline/component/LineGraph.js View File

@ -605,6 +605,7 @@ LineGraph.prototype._updateGraph = function () {
this.options.graphHeight = this.body.domProps.centerContainer.height + 'px';
this.svg.style.height = this.body.domProps.centerContainer.height + 'px';
}
this.autoSizeSVG = false;
}
// getting group Ids

+ 1
- 1
lib/timeline/component/graph2d_types/bar.js View File

@ -114,7 +114,7 @@ Bargraph.draw = function (groupIds, processedGroupData, framework) {
DOMutil.drawBar(combinedData[i].x + drawData.offset, combinedData[i].y - heightOffset, drawData.width, group.zeroPosition - combinedData[i].y, group.className + ' bar', framework.svgElements, framework.svg);
// draw points
if (group.options.drawPoints.enabled == true) {
Points.draw(combinedData, group, framework, drawData.offset);
DOMutil.drawPoint(combinedData[i].x + drawData.offset, combinedData[i].y, group, framework.svgElements, framework.svg);
}
}
};

Loading…
Cancel
Save