"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var __1 = require("../../..");
var constants_1 = require("../../../../specs/constants");
var utils_1 = require("../../../../state/utils");
function getPieSpec(state) {
    var pieSpecs = utils_1.getSpecsFromStore(state.specs, __1.ChartTypes.Partition, constants_1.SpecTypes.Series);
    return pieSpecs.length > 0 ? pieSpecs[0] : null;
}
exports.getPieSpec = getPieSpec;
//# sourceMappingURL=pie_spec.js.map