react-native-chart-kit
Version:
Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.
13 lines • 686 B
TypeScript
import type { ChartViewportInteractionConfig, ResolvedChartViewportInteractionConfig } from "./types";
export declare const resolveChartViewportInteractionConfig: (viewportInteraction?: boolean | ChartViewportInteractionConfig) => ResolvedChartViewportInteractionConfig;
export declare const getChartViewportPanDeltaPoints: ({ currentLocationX, plotWidth, startLocationX, visibleCount }: {
currentLocationX: number;
plotWidth: number;
startLocationX: number;
visibleCount: number;
}) => number;
export declare const getChartViewportPinchZoomFactor: ({ scale, sensitivity }: {
scale: number;
sensitivity: number;
}) => number;
//# sourceMappingURL=config.d.ts.map