You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
700 B

import { createInterpolateValue } from '../utils';
import { Pow } from './pow';
import { d3Ticks } from '../tick-methods/d3-ticks';
export class Sqrt extends Pow {
getDefaultOptions() {
return {
domain: [0, 1],
range: [0, 1],
nice: false,
clamp: false,
round: false,
interpolate: createInterpolateValue,
tickMethod: d3Ticks,
tickCount: 5,
exponent: 0.5,
};
}
constructor(options) {
super(options);
}
update(options) {
super.update(options);
}
clone() {
return new Sqrt(this.options);
}
}
//# sourceMappingURL=sqrt.js.map