victory-native
Version:
A charting library for React Native with a focus on performance and customization.
18 lines (17 loc) • 704 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getBarGroupDimensions = void 0;
const getBarGroupDimensionsForAxis_1 = require("./getBarGroupDimensionsForAxis");
const getBarGroupDimensions = ({ chartBounds, betweenGroupPadding, withinGroupPadding, groupCount, barsPerGroup, customBarWidth, barCount, }) => {
return (0, getBarGroupDimensionsForAxis_1.getBarGroupDimensionsForAxis)({
axisStart: chartBounds.left,
axisEnd: chartBounds.right,
betweenGroupPadding,
withinGroupPadding,
groupCount,
barsPerGroup,
customBarWidth,
barCount,
});
};
exports.getBarGroupDimensions = getBarGroupDimensions;