Browse Source

accessing the correct properties in dataRange

+ replaced property name 'start' to 'min'
+ replaced property name 'end' to 'max'
flowchartTest
Manuel Schallar 9 years ago
parent
commit
38cdcf23bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/timeline/Core.js

+ 1
- 1
lib/timeline/Core.js View File

@ -459,7 +459,7 @@ Core.prototype.getVisibleItems = function() {
Core.prototype.fit = function(options) { Core.prototype.fit = function(options) {
var range = this.getDataRange(); var range = this.getDataRange();
// skip range set if there is no start and end date
// skip range set if there is no min and max date
if (range.min === null && range.max === null) { if (range.min === null && range.max === null) {
return; return;
} }

Loading…
Cancel
Save