UNPKG

react-native-chart-kit

Version:

Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.

10 lines 711 B
import type { ChartXValue } from "../../../core/index"; import type { ResolvedCartesianChartTheme } from "../../theme"; export declare const clamp: (value: number, min: number, max: number) => number; export declare const unique: <TValue>(values: TValue[]) => TValue[]; export declare const getSeriesColor: (theme: ResolvedCartesianChartTheme, index: number) => string; export declare const defaultFormatXLabel: (value: ChartXValue) => string; export declare const defaultFormatYLabel: (value: number) => string; export declare const getXKey: (value: ChartXValue) => string | number; export declare const getXScaleType: (values: ChartXValue[]) => "point" | "linear" | "time"; //# sourceMappingURL=utils.d.ts.map