UNPKG

victory-native

Version:

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

14 lines (13 loc) 479 B
import type { CartesianChartOrientation, ChartBounds, SidedNumber, Viewport } from "../../types"; type CartesianScale = { (value: number): number; domain: () => number[]; }; export declare const getCartesianChartBounds: ({ xScale, yScale, viewport, domainPadding, orientation, }: { xScale: CartesianScale; yScale: CartesianScale; viewport?: Viewport; domainPadding?: SidedNumber; orientation?: CartesianChartOrientation; }) => ChartBounds; export {};