1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.Sqrt = void 0;
|
4 | const utils_1 = require("../utils");
|
5 | const pow_1 = require("./pow");
|
6 | const d3_ticks_1 = require("../tick-methods/d3-ticks");
|
7 | class Sqrt extends pow_1.Pow {
|
8 | getDefaultOptions() {
|
9 | return {
|
10 | domain: [0, 1],
|
11 | range: [0, 1],
|
12 | nice: false,
|
13 | clamp: false,
|
14 | round: false,
|
15 | interpolate: utils_1.createInterpolateValue,
|
16 | tickMethod: d3_ticks_1.d3Ticks,
|
17 | tickCount: 5,
|
18 | exponent: 0.5,
|
19 | };
|
20 | }
|
21 | constructor(options) {
|
22 | super(options);
|
23 | }
|
24 | update(options) {
|
25 | super.update(options);
|
26 | }
|
27 | clone() {
|
28 | return new Sqrt(this.options);
|
29 | }
|
30 | }
|
31 | exports.Sqrt = Sqrt;
|
32 |
|
\ | No newline at end of file |