UNPKG

victory-native

Version:

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

19 lines (18 loc) 590 B
import type { CartesianChartOrientation, ChartBounds } from "../../types"; type BarLabelPosition = "top" | "bottom" | "left" | "right"; export declare const getBarLabelPosition: ({ orientation, position, x, y, labelWidth, fontSize, labelRotate, barWidth, chartBounds, baselineX, }: { orientation: CartesianChartOrientation; position: BarLabelPosition; x: number; y: number; labelWidth: number; fontSize: number; labelRotate?: number; barWidth: number; chartBounds: ChartBounds; baselineX?: number; }) => { x: number; y: number; }; export {};