UNPKG

@wcardinal/wcardinal-geditor

Version:

WebGL-based graphic editor, tester and viewer for supervisory systems

26 lines 1.15 kB
import { __extends } from "tslib"; import { ECommandShapePropertySimple } from "../../command/e-command-shape-property-simple"; import { EShapeChartLine } from "./e-shape-chart-line"; var ECommandChartTickYMinorCount = /** @class */ (function (_super) { __extends(ECommandChartTickYMinorCount, _super); function ECommandChartTickYMinorCount() { return _super !== null && _super.apply(this, arguments) || this; } ECommandChartTickYMinorCount.prototype.getProperty = function (shape, capability) { if (shape instanceof EShapeChartLine) { return shape.axis.y.tick.minor.count; } return 0; }; ECommandChartTickYMinorCount.prototype.setProperty = function (shape, capability, property) { if (shape instanceof EShapeChartLine) { shape.axis.y.tick.minor.count = property; } }; ECommandChartTickYMinorCount.prototype.isMergeable = function () { return true; }; return ECommandChartTickYMinorCount; }(ECommandShapePropertySimple)); export { ECommandChartTickYMinorCount }; //# sourceMappingURL=e-command-chart-tick-y-minor-count.js.map