remove getOffset function
This commit is contained in:
parent
c863cdd9f6
commit
fb753e50a2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user