diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-30 12:17:56 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-30 12:17:56 +0100 |
| commit | 164b92454f2814e73dee9f673c1de07b715bc424 (patch) | |
| tree | 595a2ae4f2621bed30e339bb795081a0882728f2 /client/applet.js | |
| parent | ab46c9007b862eb512fe66cc47a325a7a374e20c (diff) | |
pie chart test
Diffstat (limited to 'client/applet.js')
| -rw-r--r-- | client/applet.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/applet.js b/client/applet.js index cd73925c..21e1e4fa 100644 --- a/client/applet.js +++ b/client/applet.js @@ -4,7 +4,7 @@ import { Container as FaceSearchContainer } from './faceSearch' import { Container as FaceAnalysisContainer } from './faceAnalysis' import { Container as NameSearchContainer } from './nameSearch' import { Container as DatasetListContainer } from './datasetList' -import { Container as ChartContainer } from './chart' +import { CountriesByYear, PieCharts } from './chart' export default class Applet extends Component { render() { @@ -19,7 +19,9 @@ export default class Applet extends Component { case 'dataset_list': return <DatasetListContainer {...this.props} /> case 'chart': - return <ChartContainer {...this.props} /> + return <CountriesByYear {...this.props} /> + case 'piechart': + return <PieCharts {...this.props} /> default: return <pre style={{ color: '#0f0' }}>{'Megapixels'}</pre> } |
