import React from 'react'; import PropTypes from 'prop-types'; import { createMuiTheme, withStyles } from '@material-ui/core/styles'; import ThemePallete from 'ba-api/themePalette'; import { ComposedChart, Line, Area, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts'; import { green } from '@material-ui/core/colors'; import { data1 } from './sampleData'; const theme = createMuiTheme(ThemePallete.magentaTheme); const color = ({ main: theme.palette.primary.main, maindark: theme.palette.primary.dark, secondary: theme.palette.secondary.main, third: green[500], }); const styles = { chartFluid: { width: '100%', height: 450 } }; function CompossedResponsive(props) { const { classes } = props; return (