import * as shape from 'd3-shape'; import React from 'react'; import {useColorScheme, View} from 'react-native'; import {Grid, LineChart, XAxis, YAxis} from 'react-native-svg-charts'; import {CombinedDarkTheme, CombinedDefaultTheme} from './App'; import Set from './set'; export default function Chart({ yData, xFormat, xData, yFormat, }: { yData: number[]; xData: Set[]; xFormat: (value: any, index: number) => string; yFormat: (value: any) => string; }) { const dark = useColorScheme() === 'dark'; const axesSvg = {fontSize: 10, fill: 'grey'}; const verticalContentInset = {top: 10, bottom: 10}; const xAxisHeight = 30; return ( <> ); }