import Echart, { type Props as EchartProps, } from '$src/lib/internal/shared/Echart' import ChartWrapper, { type WrapperProps, } from '$src/lib/internal/shared/ChartWrapper' import { theme as client, type CartesianChartProps, type Dataset, } from '@latitude-data/client' const generate = client.ui.chart.generateLineConfig type Props = Omit & Omit & WrapperProps function LineChart({ data, isLoading, error, x, y, title, description, bordered = false, sort, width, height, locale = 'en', animation = true, swapAxis = false, xTitle = '', yTitle = '', xFormat, yFormat, config, download, }: Props) { return ( {({ dataset, contentHeight, }: { dataset: Dataset contentHeight?: number }) => ( )} ) } export { type Props } export default LineChart