diff --git a/src/Chart.tsx b/src/Chart.tsx index 021eed9..948daec 100644 --- a/src/Chart.tsx +++ b/src/Chart.tsx @@ -3,7 +3,7 @@ import { } from 'recharts'; import * as React from 'react'; import * as _ from 'lodash'; -import { Title } from 'bloomer'; +import { Card, CardImage, CardHeader, CardHeaderTitle } from 'bloomer'; const randomColor = require('randomcolor'); import * as Papa from 'papaparse'; @@ -53,22 +53,28 @@ export class Chart extends React.Component { // return ({props.name}); // }; return ( -
- {_.capitalize(this.props.chartColumn)} - - - - { - chartData.map((_0, _1) => { - const color = _.get(colorMap, _0.name, randomColor()); - return () - }) - } - - - - -
+ + + + {_.capitalize(this.props.chartColumn)} + + + + + + + { + chartData.map((_0, _1) => { + const color = _.get(colorMap, _0.name, randomColor()); + return () + }) + } + + + + + + ) } }