@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
26 lines • 1.15 kB
JavaScript
import { __extends } from "tslib";
import { ECommandShapePropertySimple } from "../../command/e-command-shape-property-simple";
import { EShapeChartLine } from "./e-shape-chart-line";
var ECommandChartTickXMinorCount = /** @class */ (function (_super) {
__extends(ECommandChartTickXMinorCount, _super);
function ECommandChartTickXMinorCount() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandChartTickXMinorCount.prototype.getProperty = function (shape, capability) {
if (shape instanceof EShapeChartLine) {
return shape.axis.x.tick.minor.count;
}
return 0;
};
ECommandChartTickXMinorCount.prototype.setProperty = function (shape, capability, property) {
if (shape instanceof EShapeChartLine) {
shape.axis.x.tick.minor.count = property;
}
};
ECommandChartTickXMinorCount.prototype.isMergeable = function () {
return true;
};
return ECommandChartTickXMinorCount;
}(ECommandShapePropertySimple));
export { ECommandChartTickXMinorCount };
//# sourceMappingURL=e-command-chart-tick-x-minor-count.js.map