UNPKG

334 BJavaScriptView Raw
1const mix = require('@antv/util/lib/mix');
2
3class 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
21module.exports = Adjust;