UNPKG

victory-native

Version:

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

10 lines (9 loc) 398 B
import type { ChartBounds, PointsArray } from "../../types"; export type GetBarWidthArgs = { points: PointsArray | PointsArray[]; chartBounds: Pick<ChartBounds, "left" | "right">; innerPadding: number; customBarWidth?: number; barCount?: number; }; export declare const getBarWidth: ({ customBarWidth, chartBounds, innerPadding, barCount, points, }: GetBarWidthArgs) => number;