@visactor/vchart
Version:
charts lib based @visactor/VGrammar
15 lines (11 loc) • 410 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.modifyOuterLabels = void 0;
const modifyOuterLabels = marks => {
marks.filter((mark => "outerLabel" === mark.name || "outerLabelLine" === mark.name)).forEach((m => {
marks.splice(marks.indexOf(m), 1), marks.push(m);
}));
};
exports.modifyOuterLabels = modifyOuterLabels;
//# sourceMappingURL=util.js.map