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.generateAreaConfig type AreaChartProps = Omit & Omit & WrapperProps function AreaChart({ data, isLoading, error, x, y, title, description, bordered = false, sort, width, height, locale = 'en', animation = true, swapAxis = false, xTitle = '', yTitle = '', xFormat, yFormat, config, download, }: AreaChartProps) { return ( {({ dataset, contentHeight, }: { dataset: Dataset contentHeight?: number }) => ( )} ) } export default AreaChart