import React from 'react'; import { ScatterChart as RechartsScatterChart, Scatter, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, ScatterChartProps as RechartsScatterChartProps, } from 'recharts'; import { CustomizedDot, CustomizedLegend } from './ScatterChartDot'; export interface ScatterChartProps extends RechartsScatterChartProps { data?: any; showGrid?: boolean; strokeColor?: string; fillColor?: string; scatterName?: string; colors: string[]; } const ScatterChart: React.FC = (props: ScatterChartProps) => { const { data, width, height, showGrid, strokeColor, fillColor, scatterName } = props; return ( {showGrid ? : null} } /> } /> ); }; export default ScatterChart;