import { CartesianGrid, Legend, Line, LineChart, ResponsiveContainer, Tooltip, XAxis, YAxis, } from 'recharts'; import { CategoricalChartProps } from 'recharts/types/chart/generateCategoricalChart'; interface IProps extends CategoricalChartProps { data?: Array<{ xAxis: string; yAxis: number }>; showLegend?: boolean; } const RagLineChart = ({ data, showLegend = false }: IProps) => { return ( {showLegend && } {/* */} ); }; export default RagLineChart;