UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

16 lines (15 loc) 526 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getBarWidth = void 0; const getBarThickness_1 = require("./getBarThickness"); const getBarWidth = ({ customBarWidth, chartBounds, innerPadding, barCount, points, }) => { return (0, getBarThickness_1.getBarThickness)({ axisStart: chartBounds.left, axisEnd: chartBounds.right, points, innerPadding, customBarThickness: customBarWidth, barCount, }); }; exports.getBarWidth = getBarWidth;