UNPKG

react-native-chart-kit

Version:

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

13 lines 645 B
import type { ChartXValue, NormalizedSeries, ProjectScale, Size } from "../../../core/index"; import type { LineChartLabelStrategy } from "./types"; import { type XLabelCandidate } from "./xLabels"; export declare const buildXLabelCandidates: <TData>({ dataIndexOffset, labelStrategy, series, xLabelSizes, xLabelTexts, xScale, xValues }: { dataIndexOffset: number; labelStrategy: LineChartLabelStrategy; series: NormalizedSeries<TData> | undefined; xLabelSizes: Size[]; xLabelTexts: string[]; xScale: ProjectScale<TData>; xValues: ChartXValue[]; }) => XLabelCandidate[]; //# sourceMappingURL=xLabelCandidates.d.ts.map