Browse Source

Throw an error from abstract method `Core.prototype.getDataRange` (see #966)

flowchartTest
jos 9 years ago
parent
commit
79e35e3bc0
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      lib/timeline/Core.js

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

@ -480,11 +480,7 @@ Core.prototype.fit = function(options) {
*/
Core.prototype.getDataRange = function() {
// must be implemented by Timeline and Graph2d
return {
min: null,
max: null
}
throw new Error('Cannot invoke abstract method getDataRange');
};
/**

Loading…
Cancel
Save