import React from 'react' import { Styles } from '../../common'; import { AreaChart, ResponsiveContainer, XAxis, YAxis, CartesianGrid, Area, Tooltip } from 'recharts'; import { LineChart, Line, Legend } from 'recharts'; import cn from 'classnames'; import CountBadge from '../../common/CountBadge'; import { numberWithCommas } from 'App/utils'; interface Props { data: any; // onClick?: (event, index) => void; } function CustomMetricOverviewChart(props: Props) { const { data } = props; const gradientDef = Styles.gradientDef(); return (