import { bandAxisStyle } from "./bandAxisStyle.js";
const heatmapBandAxis = (spec, context)=>{
    const result = {
        ...spec
    };
    const { advancedVSeed, vseed } = context;
    const { chartType } = vseed;
    const xAxisConfig = advancedVSeed.config?.[chartType]?.xAxis ?? {};
    const yAxisConfig = advancedVSeed.config?.[chartType]?.yAxis ?? {};
    const xBandAxis = bandAxisStyle(xAxisConfig);
    const yBandAxis = bandAxisStyle(yAxisConfig);
    xBandAxis.orient = 'bottom';
    xBandAxis.bandPadding = 0;
    yBandAxis.orient = 'left';
    yBandAxis.bandPadding = 0;
    result.axes = [
        xBandAxis,
        yBandAxis
    ];
    return result;
};
export { heatmapBandAxis };

//# sourceMappingURL=heatmapBandAxis.js.map