import React from 'react';
import { map } from 'lodash';
import {
AreaChart,
CartesianGrid,
XAxis,
YAxis,
Tooltip,
ResponsiveContainer,
Area,
Dot,
Rectangle,
Polygon
} from './../../../components/recharts';
import colors from './../../../colors';
const generateDot = ({ diameter, fill, stroke }) =>
/* eslint-disable */
({ cx, cy }) => (
)
/* eslint-enable */
const generateSquare = ({ height, fill, stroke }) =>
/* eslint-disable */
({ cx, cy }) => (
);
/* eslint-enable */
const generateTriangle = ({height, fill, stroke}) =>
// eslint-disable-next-line react/prop-types
({ cx, cy }) => {
const halfSide = height / Math.sqrt(3);
const points = [
{ x: 0, y: -(height * 2 / 3) },
{ x: -halfSide, y: height / 3 },
{ x: halfSide, y: height / 3 }
];
const vertices = map(points, ({ x, y }) => ({ x: cx + x, y: cy + y }));
return (
);
}
const data = [
{name: 'Mon', uv: 4000, pv: 2400, amt: 2400},
{name: 'Tue', uv: 3000, pv: 1398, amt: 2210},
{name: 'Wed', uv: 2000, pv: 9800, amt: 2290},
{name: 'Thu', uv: 2780, pv: 3908, amt: 2000},
{name: 'Fri', uv: 1890, pv: 4800, amt: 2181},
{name: 'Sat', uv: 2390, pv: 3800, amt: 2500},
{name: 'Sun', uv: 3490, pv: 4300, amt: 2100},
];
const StackedAreaChart = () => (
)
export { StackedAreaChart };