@visactor/vmind
Version:
<div align="center"> <a href="https://github.com/VisActor#gh-light-mode-only" target="_blank"> <img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/> </a> <a href="https://githu
17 lines (13 loc) • 598 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.pipelinePie = exports.pieField = void 0;
const common_1 = require("./common"), pieField = context => {
const {cell: cell, spec: spec} = context;
return spec.valueField = cell.angle || cell.value, (cell.color || cell.category) && (spec.categoryField = cell.color || cell.category),
{
spec: spec
};
};
exports.pieField = pieField, exports.pipelinePie = [ common_1.data, common_1.color, exports.pieField, common_1.discreteLegend, common_1.commonLabel ];
//# sourceMappingURL=pie.js.map