remove getOffset function

This commit is contained in:
Simon 2017-09-08 12:19:05 +02:00
parent c863cdd9f6
commit fb753e50a2

View File

@ -299,17 +299,6 @@ module.exports = class NumericHistogram extends BaseDataview {
}); });
} }
getOffset (override) {
if (override && override.offset) {
return override.offset;
}
if (this.offset) {
return this.offset;
}
return 0;
}
getBinStart (override) { getBinStart (override) {
if (override.hasOwnProperty('start') && override.hasOwnProperty('end')) { if (override.hasOwnProperty('start') && override.hasOwnProperty('end')) {
return Math.min(override.start, override.end); return Math.min(override.start, override.end);