react-native-chart-kit
Version:
Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.
45 lines • 2.54 kB
TypeScript
import type { LineChartProps } from "./types";
export declare const getLineChartOverviewProps: <TData extends Record<string, unknown>>(props: LineChartProps<TData>) => {
data: TData[];
xKey: keyof TData & string;
yKey?: keyof TData & string;
yKeys?: (keyof TData & string)[];
series?: import("./types").LineChartSeries<TData>[];
width: number;
height: number;
theme?: import("../..").ChartKitThemeMode | import("../..").CartesianChartTheme;
preset?: import("../..").CartesianChartPresetValue;
onViewportChange?: (event: import("./types").LineChartViewportChangeEvent) => void;
viewportInteraction?: boolean | import("./types").LineChartViewportInteractionConfig;
decimation?: false | "auto" | number | import("./options").LineChartDecimationConfig;
curve?: import("../../../core/index").LineCurve;
connectNulls?: boolean;
area?: boolean;
areaFill?: import("./options").LineChartAreaFillConfig;
showDots?: boolean;
dots?: boolean | import("./options").LineChartDotConfig;
renderDot?: (props: import("./types").LineChartDotRenderProps<TData>) => import("react").ReactNode;
renderActiveDot?: (props: import("./types").LineChartDotRenderProps<TData>) => import("react").ReactNode;
renderCrosshair?: (props: import("./types").LineChartCrosshairRenderProps<TData>) => import("react").ReactNode;
renderTooltip?: (props: import("./types").LineChartTooltipRenderProps<TData>) => import("react").ReactNode;
referenceLines?: import("./types").LineChartReferenceLineConfig[];
referenceBands?: import("./types").LineChartReferenceBandConfig[];
showHorizontalGridLines?: boolean;
showVerticalGridLines?: boolean;
labelStrategy?: import("./types").LineChartLabelStrategy;
labelRotation?: number;
labelMinGap?: number;
edgeLabelPolicy?: import("./types").LineChartEdgeLabelPolicy;
yDomain?: import("../../../core/index").NumericDomainInput;
yAxisLabelWidth?: import("./axisLabels").LineChartYAxisLabelWidth;
axisLabelAnimation?: boolean | import("./axisLabels").LineChartAxisLabelAnimationConfig;
formatXLabel?: (value: import("../../../core/index").ChartXValue, index: number) => string;
formatYLabel?: (value: number) => string;
renderer?: import("./types").LineChartRenderer;
id?: string;
debugLayout?: boolean;
onLayoutDebug?: (model: import("../../../core/index").LayoutDebugModel) => void;
accessibilityLabel?: string;
testID?: string;
};
//# sourceMappingURL=overviewProps.d.ts.map