victory-native
Version:
A charting library for React Native with a focus on performance and customization.
16 lines (15 loc) • 543 B
TypeScript
export type GetBarGroupDimensionsForAxisArgs = {
axisStart: number;
axisEnd: number;
betweenGroupPadding: number;
withinGroupPadding: number;
groupCount: number;
barsPerGroup: number;
customBarWidth?: number;
barCount?: number;
};
export declare const getBarGroupDimensionsForAxis: ({ axisStart, axisEnd, betweenGroupPadding, withinGroupPadding, groupCount, barsPerGroup, customBarWidth, barCount, }: GetBarGroupDimensionsForAxisArgs) => {
barWidth: number;
groupWidth: number;
gapWidth: number;
};