@bokeh/bokehjs
Version:
Interactive, novel data visualization
16 lines • 371 B
JavaScript
import { RangeTransform } from "./range_transform";
export class Dodge extends RangeTransform {
static __name__ = "Dodge";
constructor(attrs) {
super(attrs);
}
static {
this.define(({ Float }) => ({
value: [Float, 0],
}));
}
_compute(x) {
return x + this.value;
}
}
//# sourceMappingURL=dodge.js.map