UNPKG

victory-native

Version:

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

11 lines (10 loc) 329 B
import type { ChartBounds } from "../../types"; export declare const getXAxisLabelPosition: ({ tickPosition, labelWidth, chartBounds, }: { tickPosition: number; labelWidth: number; chartBounds: Pick<ChartBounds, "left" | "right">; }) => { canRenderLabel: boolean; labelX: number; labelCenterX: number; };