import type { View } from 'react-native'; import { type XAxisProps } from '../axis/XAxis'; import { type YAxisProps } from '../axis/YAxis'; import { type CartesianChartBaseProps, type CartesianChartProps } from '../CartesianChart'; import { type CartesianAxisConfigProps } from '../utils/axis'; import { type Series } from '../utils/chart'; import { type LineProps } from './Line'; export type LineSeries = Series & Partial< Pick< LineProps, | 'curve' | 'showArea' | 'areaType' | 'areaBaseline' | 'type' | 'LineComponent' | 'AreaComponent' | 'stroke' | 'strokeWidth' | 'strokeOpacity' | 'opacity' | 'points' | 'connectNulls' | 'transition' | 'transitions' > >; export type LineChartBaseProps = Omit & Pick< LineProps, | 'showArea' | 'areaType' | 'type' | 'LineComponent' | 'AreaComponent' | 'curve' | 'points' | 'strokeWidth' | 'strokeOpacity' | 'connectNulls' | 'transition' | 'transitions' | 'opacity' > & { /** * Configuration objects that define how to visualize the data. * Each series supports Line component props for individual customization. */ series?: Array; /** * Whether to show the X axis. */ showXAxis?: boolean; /** * Whether to show the Y axis. */ showYAxis?: boolean; /** * Configuration for x-axis. * Accepts axis config and axis props. * To show the axis, set `showXAxis` to true. */ xAxis?: Partial & XAxisProps; /** * Configuration for y-axis. * Accepts axis config and axis props. * To show the axis, set `showYAxis` to true. */ yAxis?: Partial & YAxisProps; }; export type LineChartProps = LineChartBaseProps & Omit & { /** * Number of data points to move between screen-reader samples. * @default Computed from data length (targeting 10 samples) */ scrubberAccessibilityLabelStep?: number; }; export declare const LineChart: import('react').MemoExoticComponent< ({ ref, series, showArea, areaType, type, LineComponent, AreaComponent, curve, points, strokeWidth, strokeOpacity, connectNulls, transition, transitions, opacity, showXAxis, showYAxis, xAxis, yAxis, inset, scrubberAccessibilityLabelStep, layout, children, ...chartProps }: LineChartProps & { ref?: React.Ref; }) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=LineChart.d.ts.map