const initTreeMap = (spec, context)=>{
    const result = {
        ...spec
    };
    const { advancedVSeed } = context;
    const { datasetReshapeInfo } = advancedVSeed;
    const { foldInfo } = datasetReshapeInfo[0];
    result.type = 'treemap';
    result.categoryField = 'name';
    result.valueField = foldInfo.measureValue;
    result.padding = 0;
    result.animationEnter = {
        easing: 'cubicInOut'
    };
    result.animationExit = {
        easing: 'cubicInOut'
    };
    result.animationUpdate = {
        easing: 'cubicInOut'
    };
    return result;
};
export { initTreeMap };

//# sourceMappingURL=treeMap.js.map