import React from 'react';
import { Box, Paper } from '@material-ui/core';
import {LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts';
const CustomizedAxisTick = ({ x, y, payload }) =>{
console.log('inside customized tick ', payload.value)
if(!payload.value) {
return payload.value;
}
const parts = payload.value.split(' ');
return (
{parts[0]}
{parts[1]}
);
}
const Graph = ({ type, items }) => {
return (
} height={60} />
);
}
export default Graph;