1 | const mix = require('@antv/util/src/mix');
|
2 |
|
3 | class Adjust {
|
4 |
|
5 | _initDefaultCfg() {
|
6 | this.adjustNames = [ 'x', 'y' ]; // 调整的维度,默认,x,y都做调整
|
7 | }
|
8 |
|
9 | constructor(cfg) {
|
10 | this._initDefaultCfg();
|
11 | mix(this, cfg);
|
12 | }
|
13 |
|
14 | /**
|
15 | * @override
|
16 | */
|
17 | processAdjust(/* dataArray */) {}
|
18 | }
|
19 |
|
20 |
|
21 | module.exports = Adjust;
|