NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/g2/esm/geometry/line.js
2023-09-14 14:47:11 +08:00

21 lines
643 B
Java

import { __extends } from "tslib";
import Path from './path';
/** 引入 Path 对应的 ShapeFactory */
import './shape/line';
/**
* Line 几何标记。
* 常用于折线图的绘制。
*/
var Line = /** @class */ (function (_super) {
__extends(Line, _super);
function Line(cfg) {
var _this = _super.call(this, cfg) || this;
_this.type = 'line';
var _a = cfg.sortable, sortable = _a === void 0 ? true : _a; // Line 默认会对数据按照 x 轴字段进行排序
_this.sortable = sortable;
return _this;
}
return Line;
}(Path));
export default Line;
//# sourceMappingURL=line.js.map