Files
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

26 lines
759 B
JavaScript

import { __extends } from "tslib";
import Continuous from './base';
/**
* 线性度量
* @class
*/
var Linear = /** @class */ (function (_super) {
__extends(Linear, _super);
function Linear() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.type = 'linear';
_this.isLinear = true;
return _this;
}
Linear.prototype.invert = function (value) {
var percent = this.getInvertPercent(value);
return this.min + percent * (this.max - this.min);
};
Linear.prototype.initCfg = function () {
this.tickMethod = 'wilkinson-extended';
this.nice = false;
};
return Linear;
}(Continuous));
export default Linear;
//# sourceMappingURL=linear.js.map