UNPKG

645 BJavaScriptView Raw
1function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2
3var mix = require('@antv/util/lib/mix');
4
5var Adjust = function () {
6 Adjust.prototype._initDefaultCfg = function _initDefaultCfg() {
7 this.adjustNames = ['x', 'y']; // 调整的维度,默认,x,y都做调整
8 };
9
10 function Adjust(cfg) {
11 _classCallCheck(this, Adjust);
12
13 this._initDefaultCfg();
14 mix(this, cfg);
15 }
16
17 /**
18 * @override
19 */
20
21
22 Adjust.prototype.processAdjust = function processAdjust() /* dataArray */{};
23
24 return Adjust;
25}();
26
27module.exports = Adjust;
\No newline at end of file