victory-native
Version:
A charting library for React Native with a focus on performance and customization.
9 lines (8 loc) • 503 B
TypeScript
import type { ChartBounds, PointsArray } from "../../types";
import { type RoundedCorners } from "../../utils/createRoundedRectPath";
export declare const useHorizontalBarGroupPaths: (points: PointsArray[], chartBounds: ChartBounds, betweenGroupPadding?: number, withinGroupPadding?: number, roundedCorners?: RoundedCorners, customBarWidth?: number, barCount?: number) => {
barWidth: number;
groupWidth: number;
gapWidth: number;
paths: import("@shopify/react-native-skia").SkPath[];
};