Skip to content

Commit

Permalink
chore: removing comment
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Smith <[email protected]>
  • Loading branch information
Dan Smith committed May 29, 2024
1 parent 40626bf commit dabc05a
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,24 +393,6 @@ export const AnomalyChart = ({
description,
}: AnomalyChartProps) => {
const [isLabelHovered, setIsLabelHovered] = useState(false);
// const formatChartData = (data: any) => {
// const formattedData: any = [];
// data?.data?.map((obj: any) => {
// const metricObj: any = {
// ...obj,
// name: obj?.metric && Object.values(obj?.metric).join(":"),
// data: [],
// };
// obj?.values?.map((kp: any, i: any) => {
// metricObj.data.push({
// x: Math.floor(kp[0] * 1),
// y: kp[1],
// });
// });
// formattedData.push(metricObj);
// });
// return formattedData;
// };

const LegendMemo = useMemo(() => {
return (
Expand Down

0 comments on commit dabc05a

Please sign in to comment.