UNPKG

751 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var tslib_1 = require("tslib");
4var path_1 = tslib_1.__importDefault(require("./path"));
5/** 引入 Path 对应的 ShapeFactory */
6require("./shape/line");
7/**
8 * Line 几何标记。
9 * 常用于折线图的绘制。
10 */
11var Line = /** @class */ (function (_super) {
12 tslib_1.__extends(Line, _super);
13 function Line(cfg) {
14 var _this = _super.call(this, cfg) || this;
15 _this.type = 'line';
16 var _a = cfg.sortable, sortable = _a === void 0 ? false : _a; // 关闭默认的 X 轴数据排序
17 _this.sortable = sortable;
18 return _this;
19 }
20 return Line;
21}(path_1.default));
22exports.default = Line;
23//# sourceMappingURL=line.js.map
\No newline at end of file